2016-02-28 00:52:40 +00:00
|
|
|
{ pkgs, config, ... }:
|
2015-10-19 21:46:10 +00:00
|
|
|
|
|
|
|
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";
|
2016-02-28 00:52:40 +00:00
|
|
|
extraConfig = "-P ${pw} -l ${pkgs.lib.head config.krebs.build.host.nets.internet.addrs4}";
|
2015-10-19 21:46:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|