server: add 1.0.0.1 fallback to forced resolv.conf

This commit is contained in:
2026-02-25 16:05:08 +02:00
parent c37c83b931
commit 0a4d68e3fd
3 changed files with 55 additions and 5 deletions

View File

@@ -134,12 +134,12 @@
];
# Force resolver config to Cloudflare only.
networking.nameservers = lib.mkForce [ "1.1.1.1" ];
networking.nameservers = lib.mkForce [ "1.1.1.1" "1.0.0.1" ];
environment.etc."resolv.conf".text = lib.mkForce ''
nameserver 1.1.1.1
nameserver 1.0.0.1
'';
catppuccin = {
enable = true;
flavor = "mocha";