From fcbd6806b9ed23d6362127a9841551ad24d9edb8 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Tue, 5 Sep 2023 09:13:37 +0200 Subject: [PATCH] Disable systemd-resolved It always breaks things, makes debugging harder and in general does not seem to make anything better. --- modules/default.nix | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/modules/default.nix b/modules/default.nix index 430d3df..72dc6b5 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -127,18 +127,7 @@ i18n.supportedLocales = (options.i18n.supportedLocales.default) ++ (lib.optionals config.sbruder.full [ "de_DE.UTF-8/UTF-8" ]); - - services.resolved = { - # Set systemd-resolved’s fallback to Quad9 (instead of cloudflare/google) - fallbackDns = [ "9.9.9.9" "149.112.112.112" "2620:fe::fe" "2620:fe::9" ]; - # Allow resolving single lable hostnames (e.g., hostnames on the local network) - llmnr = "false"; - # resolved does not automatically append the search domain (for whatever reason) - extraConfig = '' - ResolveUnicastSingleLabel=yes - Cache=no-negative - ''; - }; + services.resolved.enable = lib.mkOverride 99 false; } (lib.mkIf config.sbruder.full { services.fwupd.enable = true;