feat: add extraConfig for systemd-resolved

Enabled ResolveUnicastSingleLabel option in systemd-resolved configuration. This ensures unicast single-label domain names can be resolved. Added in the extraConfig section.
This commit is contained in:
Harald Hoyer 2024-07-25 13:53:45 +02:00
parent 629c69f028
commit 20f610b628

View file

@ -27,6 +27,9 @@ with lib.metacfg;
services.resolved.enable = true;
services.resolved.dnssec = "allow-downgrade";
services.resolved.extraConfig = ''
ResolveUnicastSingleLabel=yes;
'';
systemd.packages = [ pkgs.cloudflare-warp ]; # for warp-cli