aboutsummaryrefslogtreecommitdiff
path: root/profiles/network/networkd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/network/networkd.nix')
-rw-r--r--profiles/network/networkd.nix6
1 files changed, 6 insertions, 0 deletions
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"
+ ];
}