desktop: make nameservers work with resolvconf, switch to quad9

This commit is contained in:
Elnu 2023-08-11 12:20:19 -07:00
parent 6176753e71
commit f3849e3eb6

View file

@ -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;