use quad9 for dns
This commit is contained in:
parent
61fbb386b1
commit
3aeffe9897
3 changed files with 7 additions and 10 deletions
|
@ -135,12 +135,6 @@
|
||||||
address = "31.59.129.1";
|
address = "31.59.129.1";
|
||||||
interface = "ens18";
|
interface = "ens18";
|
||||||
};
|
};
|
||||||
networking.nameservers = [
|
|
||||||
"127.0.0.1"
|
|
||||||
"::1"
|
|
||||||
];
|
|
||||||
|
|
||||||
time.timeZone = "America/Toronto";
|
|
||||||
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
console = {
|
console = {
|
||||||
|
|
|
@ -26,6 +26,13 @@
|
||||||
};
|
};
|
||||||
time.timeZone = "America/Toronto";
|
time.timeZone = "America/Toronto";
|
||||||
networking.firewall.logRefusedConnections = false;
|
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
|
# this is true by default and mutually exclusive with
|
||||||
# programs.nix-index
|
# programs.nix-index
|
||||||
|
|
|
@ -84,10 +84,6 @@
|
||||||
dns = "none";
|
dns = "none";
|
||||||
wifi.backend = "iwd";
|
wifi.backend = "iwd";
|
||||||
};
|
};
|
||||||
nameservers = [
|
|
||||||
"31.59.129.225"
|
|
||||||
"2a0f:85c1:840:2bfb::1"
|
|
||||||
];
|
|
||||||
resolvconf.enable = true;
|
resolvconf.enable = true;
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedUDPPorts = [ 51820 ]; # for wireguard
|
allowedUDPPorts = [ 51820 ]; # for wireguard
|
||||||
|
|
Loading…
Add table
Reference in a new issue