summaryrefslogtreecommitdiff
path: root/hosts/surtr/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-11-13 08:41:39 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2024-11-13 08:41:39 +0100
commitf805ce37981a699981ae25dfd1943dc3db33b90e (patch)
tree36083abc2af2a3c0fed5b75ccd10450fac5c1045 /hosts/surtr/default.nix
parent5440c73f19ae9bfac70c79da83241c158ceb7d4a (diff)
downloadnixos-f805ce37981a699981ae25dfd1943dc3db33b90e.tar
nixos-f805ce37981a699981ae25dfd1943dc3db33b90e.tar.gz
nixos-f805ce37981a699981ae25dfd1943dc3db33b90e.tar.bz2
nixos-f805ce37981a699981ae25dfd1943dc3db33b90e.tar.xz
nixos-f805ce37981a699981ae25dfd1943dc3db33b90e.zip
...
Diffstat (limited to 'hosts/surtr/default.nix')
-rw-r--r--hosts/surtr/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/hosts/surtr/default.nix b/hosts/surtr/default.nix
index 705f69b3..223e1f10 100644
--- a/hosts/surtr/default.nix
+++ b/hosts/surtr/default.nix
@@ -65,6 +65,12 @@ with lib;
65 enable = true; 65 enable = true;
66 rulesetFile = ./ruleset.nft; 66 rulesetFile = ./ruleset.nft;
67 }; 67 };
68 resolvconf = {
69 enable = true;
70 extraConfig = ''
71 name_servers='127.0.0.53'
72 '';
73 };
68 }; 74 };
69 75
70 systemd.network = { 76 systemd.network = {
@@ -78,10 +84,7 @@ with lib;
78 }; 84 };
79 }; 85 };
80 86
81 services.resolved = { 87 services.resolved.enable = false;
82 llmnr = "false";
83 dnssec = "false"; # unbound does dnssec validation for us
84 };
85 88
86 services.ndppd = { 89 services.ndppd = {
87 enable = true; 90 enable = true;