stockholm/makefu/2configs/taskd.nix

13 lines
448 B
Nix
Raw Normal View History

2018-11-05 12:50:22 +00:00
{config, ... }:
{
2019-05-08 11:55:00 +00:00
state = [ config.services.taskserver.dataDir ];
2018-11-05 12:50:22 +00: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
'';
}