move nameserver to networking.nameserver

This commit is contained in:
Adithya 2024-06-21 21:50:26 +05:30
parent 581bab96c3
commit 92647f3853
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -18,6 +18,13 @@
hostName = "Skipper";
nameservers = [
"2620:fe::fe#dns.quad9.net"
"9.9.9.9#dns.quad9.net"
"2620:fe::9#dns.quad9.net"
"149.112.112.112#dns.quad9.net"
];
networkmanager = {
enable = true;
dhcp = "dhcpcd";
@ -50,8 +57,5 @@
dnsovertls = "true";
domains = [ "~." ];
fallbackDns = [ ];
extraConfig = ''
DNS=2620:fe::fe#dns.quad9.net 9.9.9.9#dns.quad9.net 2620:fe::9#dns.quad9.net 149.112.112.112#dns.quad9.net
'';
};
}