use quad9 for dns

This commit is contained in:
cy 2025-01-07 22:41:29 -05:00
parent 61fbb386b1
commit 3aeffe9897
3 changed files with 7 additions and 10 deletions

View file

@ -135,12 +135,6 @@
address = "31.59.129.1";
interface = "ens18";
};
networking.nameservers = [
"127.0.0.1"
"::1"
];
time.timeZone = "America/Toronto";
i18n.defaultLocale = "en_US.UTF-8";
console = {

View file

@ -26,6 +26,13 @@
};
time.timeZone = "America/Toronto";
networking.firewall.logRefusedConnections = false;
networking.nameservers = [
# quad9
"2620:fe::fe"
"2620:fe::9"
"9.9.9.9"
"149.112.112.112"
];
# this is true by default and mutually exclusive with
# programs.nix-index

View file

@ -84,10 +84,6 @@
dns = "none";
wifi.backend = "iwd";
};
nameservers = [
"31.59.129.225"
"2a0f:85c1:840:2bfb::1"
];
resolvconf.enable = true;
firewall = {
allowedUDPPorts = [ 51820 ]; # for wireguard