From 962cbec36d4cec14c7df5ff150ade4228d4c6a5b Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 12 Aug 2025 10:30:43 -0700 Subject: add nameservers configuration to network profile --- profiles/network/networkd.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'profiles/network/networkd.nix') diff --git a/profiles/network/networkd.nix b/profiles/network/networkd.nix index 9081f59..2143386 100644 --- a/profiles/network/networkd.nix +++ b/profiles/network/networkd.nix @@ -13,4 +13,10 @@ DNSOverTLS=yes ''; }; + + # Used by systemd-resolved, not directly by resolv.conf. + networking.nameservers = [ + "8.8.8.8#dns.google" + "1.0.0.1#cloudflare-dns.com" + ]; } -- cgit v1.2.3