summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/taskd.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-11-05 13:50:22 +0100
committermakefu <github@syntax-fehler.de>2018-11-05 13:50:22 +0100
commitea3afff61105fd32be1ea658460329aecf061eec (patch)
treeded4dd927e2ef9a65ac9a9147189d66d9431c43c /makefu/2configs/taskd.nix
parent9520ee2c51b49a0e6cb0c96f9ab1724381e0e9cd (diff)
ma gum: prepare replacement by nextgum
Diffstat (limited to 'makefu/2configs/taskd.nix')
-rw-r--r--makefu/2configs/taskd.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefu/2configs/taskd.nix b/makefu/2configs/taskd.nix
new file mode 100644
index 000000000..5ca3b9904
--- /dev/null
+++ b/makefu/2configs/taskd.nix
@@ -0,0 +1,11 @@
+{config, ... }:
+{
+ 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
+ '';
+}