aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/router.nix
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2026-03-31 17:46:42 +0200
committerKarel Kočí <cynerd@email.cz>2026-03-31 17:46:42 +0200
commitd5ec7b775888827089a668aea58244b2ad4a1e70 (patch)
treef83260efda4b3c478855484d1451a8858bc23b9c /nixos/modules/router.nix
parent5f8f3edbf69f4735f302fc5a749dba2928ce6582 (diff)
downloadnixos-personal-d5ec7b775888827089a668aea58244b2ad4a1e70.tar.gz
nixos-personal-d5ec7b775888827089a668aea58244b2ad4a1e70.tar.bz2
nixos-personal-d5ec7b775888827089a668aea58244b2ad4a1e70.zip
treewide: long time changesHEADmaster
Diffstat (limited to 'nixos/modules/router.nix')
-rw-r--r--nixos/modules/router.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/nixos/modules/router.nix b/nixos/modules/router.nix
index 01110ae..1c8f4cc 100644
--- a/nixos/modules/router.nix
+++ b/nixos/modules/router.nix
@@ -178,12 +178,11 @@ in {
services.resolved = {
enable = true;
- #dnssec = "true";
- fallbackDns = ["1.1.1.1" "8.8.8.8"];
- extraConfig = ''
- DNSStubListenerExtra=${cnf.lanIP}
- DNSStubListenerExtra=192.168.1.1
- '';
+ settings.Resolve = {
+ FallbackDNS = ["1.1.1.1" "8.8.8.8"];
+ DNSStubListenerExtra=[cnf.lanIP "192.168.1.1"];
+ # TODO possibly enforce DNSSEC again
+ };
};
};
}