Add Google DNS resolution

This is a failsafe for when the Pihole is down, like now while I'm
developing its configuration.
This commit is contained in:
Eli Ribble 2024-08-19 09:16:24 -07:00
parent f44f8346f4
commit 0a9f1c5799
1 changed files with 5 additions and 1 deletions

View File

@ -230,7 +230,11 @@
#{ from = 8000; to = 8010; }
];
};
# Add Google DNS so that we can still resolve DNS names when our Pihole is down.
networking.nameservers = [
"8.8.8.8"
"2001:4860:4860::8888"
];
networking.useNetworkd = true;
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you