boot: Enable resolved/DNS-over-TLS

This commit is contained in:
Katherina Walshe-Grey 2025-06-25 01:14:54 +01:00
parent 094812e6f1
commit fa61c1523b

View file

@ -10,4 +10,13 @@ in
systemd-boot.memtest86.enable = mkIf config.nixpkgs.hostPlatform.isx86 true;
efi.canTouchEfiVariables = true;
};
services.resolved = {
enable = true;
fallbackDns = [ ];
dnsovertls = "true";
extraConfig = ''
DNS=2a07:e340::4#base.dns.mullvad.net 194.242.2.4#base.dns.mullvad.net
'';
};
}