diff options
Diffstat (limited to 'hosts/vidhar/dns/default.nix')
-rw-r--r-- | hosts/vidhar/dns/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hosts/vidhar/dns/default.nix b/hosts/vidhar/dns/default.nix index ade884e7..f942b3f9 100644 --- a/hosts/vidhar/dns/default.nix +++ b/hosts/vidhar/dns/default.nix | |||
@@ -20,7 +20,7 @@ in { | |||
20 | enableRootTrustAnchor = false; | 20 | enableRootTrustAnchor = false; |
21 | settings = { | 21 | settings = { |
22 | server = { | 22 | server = { |
23 | interface = ["lo" "lan"]; | 23 | interface = ["lo" "lan" "ve-printing"]; |
24 | prefer-ip6 = true; | 24 | prefer-ip6 = true; |
25 | access-control = ["0.0.0.0/0 allow" "::/0 allow"]; | 25 | access-control = ["0.0.0.0/0 allow" "::/0 allow"]; |
26 | root-hints = "${pkgs.dns-root-data}/root.hints"; | 26 | root-hints = "${pkgs.dns-root-data}/root.hints"; |
@@ -79,6 +79,10 @@ in { | |||
79 | }; | 79 | }; |
80 | }; | 80 | }; |
81 | 81 | ||
82 | systemd.services.unbound = { | ||
83 | after = [ "container@printinp.service" ]; | ||
84 | }; | ||
85 | |||
82 | systemd.services.knot = { | 86 | systemd.services.knot = { |
83 | unitConfig.RequiresMountsFor = [ "/var/lib/knot" ]; | 87 | unitConfig.RequiresMountsFor = [ "/var/lib/knot" ]; |
84 | serviceConfig.LoadCredential = map ({name, ...}: "${name}.yaml:${config.sops.secrets.${name}.path}") knotKeys; | 88 | serviceConfig.LoadCredential = map ({name, ...}: "${name}.yaml:${config.sops.secrets.${name}.path}") knotKeys; |