From f3849e3eb66c9497587f0ad8a67ecccf0b37cf54 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Fri, 11 Aug 2023 12:20:19 -0700 Subject: [PATCH] desktop: make nameservers work with resolvconf, switch to quad9 --- hosts/desktop.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/desktop.nix b/hosts/desktop.nix index 6f5152c..fd9d3a0 100644 --- a/hosts/desktop.nix +++ b/hosts/desktop.nix @@ -34,7 +34,9 @@ in networking = { networkmanager.enable = true; - nameservers = [ "1.1.1.1" "1.0.0.1" ]; + # networking.nameservers doesn't apply to resolvconf + # nameservers = [ "9.9.9.9" "1.1.1.1" ]; + resolvconf.extraConfig = "name_servers=\"9.9.9.9 1.1.1.1\""; }; xdg.portal.enable = true;