summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/taskd.nix
blob: 122ad66a75aed463117e00db326767b27b975da8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{config, ... }:
{
  state = [ config.services.taskserver.dataDir ];
  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
  '';
}