summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/iodined.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-10-20 23:47:39 +0200
committerlassulus <lass@aidsballs.de>2015-10-20 23:47:39 +0200
commit114bbe669a632d65fc0d57608f96fdb6fb034f07 (patch)
tree3b727293ef5442700c0015d42fbd83d6f92e096f /makefu/2configs/iodined.nix
parentf6187b3796edcfcce71bd239bbc1e793e6bb806a (diff)
parent24271c6f6b4e730eccb238c28ca4b04eb70ede92 (diff)
Merge remote-tracking branch 'pnp/master'
Diffstat (limited to 'makefu/2configs/iodined.nix')
-rw-r--r--makefu/2configs/iodined.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/makefu/2configs/iodined.nix b/makefu/2configs/iodined.nix
new file mode 100644
index 000000000..db8a1bfed
--- /dev/null
+++ b/makefu/2configs/iodined.nix
@@ -0,0 +1,16 @@
+{ services,builtins,environment,pkgs, ... }:
+
+let
+ # TODO: make this a parameter
+ domain = "io.krebsco.de";
+ pw = import <secrets/iodinepw.nix>;
+in {
+
+ services.iodined = {
+ enable = true;
+ domain = domain;
+ ip = "172.16.10.1/24";
+ extraConfig = "-P ${pw}";
+ };
+
+}