summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/network.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/network.nix b/modules/network.nix
index 790d159..8264102 100644
--- a/modules/network.nix
+++ b/modules/network.nix
@@ -62,6 +62,10 @@ in
services.resolved = {
enable = true;
+
+ # Only use these addresses as fallback. Machines using this configuration
+ # are on a trusted local network anyway, so they should accept DNS servers
+ # from the network.
settings.Resolve.FallBackDNS = quad9 ++ cloudflare;
};
};