2016-02-28 01:52:40 +01:00
|
|
|
{ pkgs, config, ... }:
|
2015-10-19 23:46:10 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
# TODO: make this a parameter
|
|
|
|
domain = "io.krebsco.de";
|
|
|
|
pw = import <secrets/iodinepw.nix>;
|
|
|
|
in {
|
|
|
|
|
|
|
|
services.iodined = {
|
2016-09-02 12:41:56 +02:00
|
|
|
server = {
|
|
|
|
enable = true;
|
|
|
|
domain = domain;
|
|
|
|
ip = "172.16.10.1/24";
|
|
|
|
extraConfig = "-P ${pw} -l ${config.krebs.build.host.nets.internet.ip4.addr}";
|
|
|
|
};
|
2015-10-19 23:46:10 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|