blob: 60e084f507481e55d816f3f65166d1fc6da3b744 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ config, lib, pkgs, ... }:
with pkgs.stockholm.lib; {
options = {
krebs.dns.providers = mkOption {
type = types.attrsOf types.str;
};
krebs.dns.search-domain = mkOption {
type = types.nullOr types.hostname;
};
};
config = lib.mkIf config.krebs.enable {
krebs.dns.providers = {
"krebsco.de" = "zones";
shack = "hosts";
i = "hosts";
r = "hosts";
w = "hosts";
};
krebs.dns.search-domain = mkDefault "r";
};
}
|