2016-02-28 01:52:40 +01:00
|
|
|
{ pkgs, config, ... }:
|
2015-10-19 23:46:10 +02:00
|
|
|
|
2023-09-03 14:25:26 +02:00
|
|
|
{
|
2016-10-19 12:31:13 +02:00
|
|
|
networking.firewall.allowedUDPPorts = [ 53 ];
|
2023-09-03 14:25:26 +02:00
|
|
|
sops.secrets."iodinepw" = {
|
|
|
|
owner = "iodined";
|
|
|
|
};
|
2015-10-19 23:46:10 +02:00
|
|
|
|
2016-10-19 12:31:13 +02:00
|
|
|
services.iodine = {
|
2016-09-02 12:41:56 +02:00
|
|
|
server = {
|
|
|
|
enable = true;
|
2023-09-03 14:25:26 +02:00
|
|
|
domain = "io.krebsco.de";
|
2016-09-02 12:41:56 +02:00
|
|
|
ip = "172.16.10.1/24";
|
2023-09-03 14:25:26 +02:00
|
|
|
passwordFile = config.sops.secrets."iodinepw".path;
|
|
|
|
extraConfig = "-c -l ${config.krebs.build.host.nets.internet.ip4.addr}";
|
2016-09-02 12:41:56 +02:00
|
|
|
};
|
2015-10-19 23:46:10 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|