summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/iodined.nix
blob: 2e69d167c0153691de40b7ba47331663f5e0fa21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ pkgs, config, ... }:

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} -l ${pkgs.lib.head config.krebs.build.host.nets.internet.addrs4}";
  };

}