Fix resolving local names with resolved
This commit is contained in:
parent
f05ee27364
commit
91e739c91b
|
@ -128,8 +128,16 @@
|
||||||
"de_DE.UTF-8/UTF-8"
|
"de_DE.UTF-8/UTF-8"
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
services.resolved = {
|
||||||
# Set systemd-resolved’s fallback to Quad9 (instead of cloudflare/google)
|
# Set systemd-resolved’s fallback to Quad9 (instead of cloudflare/google)
|
||||||
services.resolved.fallbackDns = [ "9.9.9.9" "149.112.112.112" "2620:fe::fe" "2620:fe::9" ];
|
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
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
(lib.mkIf config.sbruder.full {
|
(lib.mkIf config.sbruder.full {
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue