nixos-config/2configs/taskd.nix

13 lines
448 B
Nix
Raw Normal View History

2018-11-05 13:50:22 +01:00
{config, ... }:
{
2019-05-08 13:55:00 +02:00
state = [ config.services.taskserver.dataDir ];
2018-11-05 13:50:22 +01:00
services.taskserver.enable = true;
services.taskserver.fqdn = config.krebs.build.host.name;
services.taskserver.listenHost = "::";
services.taskserver.organisations.home.users = [ "makefu" ];
networking.firewall.extraCommands = ''
iptables -A INPUT -i retiolum -p tcp --dport 53589 -j ACCEPT
ip6tables -A INPUT -i retiolum -p tcp --dport 53589 -j ACCEPT
'';
}