Revert "Disable systemd-resolved"

This reverts commit 38f815ecf1fa188d0a5a389f73bcd01177f9687c.
nazuna
Simon Bruder 2023-09-08 20:32:17 +02:00
parent bc08d06985
commit 09a9037f1c
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 12 additions and 1 deletions

View File

@ -127,7 +127,18 @@
i18n.supportedLocales = (options.i18n.supportedLocales.default) ++ (lib.optionals config.sbruder.full [
"de_DE.UTF-8/UTF-8"
]);
services.resolved.enable = lib.mkOverride 99 false;
services.resolved = {
# Set systemd-resolveds 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
'';
};
}
(lib.mkIf config.sbruder.full {
services.fwupd.enable = true;