diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-01-30 12:41:51 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-01-30 12:41:51 +0100 |
commit | 39094f52acc0b3c38fc1a50718b5cc8e25b8fb7a (patch) | |
tree | ae9412c9e38a8ccbdede30fd474bed674e0dca5a /hosts/surtr/dns/default.nix | |
parent | cfc871cce6aefaa0ff64619780a807cba761c6b2 (diff) | |
download | nixos-39094f52acc0b3c38fc1a50718b5cc8e25b8fb7a.tar nixos-39094f52acc0b3c38fc1a50718b5cc8e25b8fb7a.tar.gz nixos-39094f52acc0b3c38fc1a50718b5cc8e25b8fb7a.tar.bz2 nixos-39094f52acc0b3c38fc1a50718b5cc8e25b8fb7a.tar.xz nixos-39094f52acc0b3c38fc1a50718b5cc8e25b8fb7a.zip |
...
Diffstat (limited to 'hosts/surtr/dns/default.nix')
-rw-r--r-- | hosts/surtr/dns/default.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/hosts/surtr/dns/default.nix b/hosts/surtr/dns/default.nix index e79f4bfb..ab2a3cd5 100644 --- a/hosts/surtr/dns/default.nix +++ b/hosts/surtr/dns/default.nix | |||
@@ -46,12 +46,12 @@ in { | |||
46 | 46 | ||
47 | systemd.services.knot = { | 47 | systemd.services.knot = { |
48 | unitConfig.RequiresMountsFor = [ "/var/lib/knot" ]; | 48 | unitConfig.RequiresMountsFor = [ "/var/lib/knot" ]; |
49 | serviceConfig.LoadCredential = map ({name, ...}: "${name}:${config.sops.secrets.${name}.path}") knotKeys; | 49 | serviceConfig.LoadCredential = map ({name, ...}: "${name}.yaml:${config.sops.secrets.${name}.path}") knotKeys; |
50 | }; | 50 | }; |
51 | 51 | ||
52 | services.knot = { | 52 | services.knot = { |
53 | enable = true; | 53 | enable = true; |
54 | keyFiles = map ({name, ...}: "/run/credentials/knot.service/${name}") knotKeys; | 54 | keyFiles = map ({name, ...}: "/run/credentials/knot.service/${name}.yaml") knotKeys; |
55 | extraConfig = '' | 55 | extraConfig = '' |
56 | server: | 56 | server: |
57 | listen: 127.0.0.1@53 | 57 | listen: 127.0.0.1@53 |
@@ -109,20 +109,17 @@ in { | |||
109 | algorithm: rsasha256 | 109 | algorithm: rsasha256 |
110 | ksk-size: 4096 | 110 | ksk-size: 4096 |
111 | zsk-size: 2048 | 111 | zsk-size: 2048 |
112 | zsk-lifetime: 30d | ||
113 | ksk-submission: validating-resolver | 112 | ksk-submission: validating-resolver |
114 | - id: ed25519 | 113 | - id: ed25519 |
115 | algorithm: ed25519 | 114 | algorithm: ed25519 |
116 | nsec3: on | 115 | nsec3: on |
117 | nsec3-iterations: 0 | 116 | nsec3-iterations: 0 |
118 | ksk-lifetime: 360d | ||
119 | signing-threads: 2 | 117 | signing-threads: 2 |
120 | ksk-submission: validating-resolver | 118 | ksk-submission: validating-resolver |
121 | - id: ed25519_local-push | 119 | - id: ed25519_local-push |
122 | algorithm: ed25519 | 120 | algorithm: ed25519 |
123 | nsec3: on | 121 | nsec3: on |
124 | nsec3-iterations: 0 | 122 | nsec3-iterations: 0 |
125 | ksk-lifetime: 360d | ||
126 | signing-threads: 2 | 123 | signing-threads: 2 |
127 | ksk-submission: validating-resolver | 124 | ksk-submission: validating-resolver |
128 | cds-cdnskey-publish: double-ds | 125 | cds-cdnskey-publish: double-ds |