diff options
author | makefu <github@syntax-fehler.de> | 2015-10-19 23:46:10 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-10-19 23:46:10 +0200 |
commit | ded0821d9bf7c85e2197cb7811d5f95987ded02e (patch) | |
tree | 2315415090766cb26f10427b797bd95ef4887874 /makefu/2configs | |
parent | 8d3ebfc096c10e9d498ca0bed934ad9e35e6c022 (diff) |
m 1,2 : wry serves as iodine entry point
Diffstat (limited to 'makefu/2configs')
-rw-r--r-- | makefu/2configs/base-sources.nix | 6 | ||||
-rw-r--r-- | makefu/2configs/iodined.nix | 16 |
2 files changed, 19 insertions, 3 deletions
diff --git a/makefu/2configs/base-sources.nix b/makefu/2configs/base-sources.nix index 826cd6fef..7e6bebec3 100644 --- a/makefu/2configs/base-sources.nix +++ b/makefu/2configs/base-sources.nix @@ -3,9 +3,9 @@ { krebs.build.source = { git.nixpkgs = { - url = https://github.com/NixOS/nixpkgs; - #url = https://github.com/makefu/nixpkgs; - rev = "dc18f39bfb2f9d1ba62c7e8ad98544bb15cb26b2"; # nixos-15.09 + #url = https://github.com/NixOS/nixpkgs; + url = https://github.com/makefu/nixpkgs; + rev = "78340b042463fd35caa587b0db2e400e5666dbe1"; # nixos-15.09 + cherry-picked iodine }; dir.secrets = { 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}"; + }; + +} |