Personal Nix setup
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add more DNS resolvers

+12 -2
+12 -2
modules/router/network.nix
··· 109 109 }; 110 110 nameservers = [ 111 111 "1.1.1.1#cloudflare-dns.com" 112 - ] ++ (if cfg.ipv6 then [ "2606:4700:4700::1111#cloudflare-dns.com" ] else []); 112 + "9.9.9.9#dns.quad9.net" 113 + "8.8.8.8#dns.google" 114 + ] ++ (optionals cfg.ipv6 [ 115 + "2606:4700:4700::1111#cloudflare-dns.com" 116 + "2620:fe::9#dns.quad9.net" 117 + "2001:4860:4860::8888#dns.google" 118 + ]); 113 119 }; 114 120 115 121 boot.initrd.systemd.network = { ··· 203 209 domains = [ "~." ]; 204 210 fallbackDns = [ 205 211 "1.0.0.1" 206 - ] ++ (if cfg.ipv6 then [ "2606:4700:4700::1001" ] else []); 212 + "8.8.4.4" 213 + ] ++ (optionals cfg.ipv6 [ 214 + "2606:4700:4700::1001" 215 + "2001:4860:4860::8844" 216 + ]); 207 217 dnsovertls = "opportunistic"; 208 218 extraConfig = strings.concatStringsSep "\n" [ 209 219 "[Resolve]"