flake/nixos/networking/dns/systemd-resolved.nix

12 lines
329 B
Nix
Raw Normal View History

2023-09-19 00:17:43 +00:00
{ ... }:
{
networking.networkmanager.dns = "systemd-resolved";
services.resolved = {
enable = true;
dnssec = "true";
domains = [ "~." ];
fallbackDns = [ "8.8.8.8#dns.google" "8.8.4.4#dns.google" "2001:4860:4860::8888#dns.google" "2001:4860:4860::8844#dns.google" ];
2023-10-15 00:51:56 +00:00
extraConfig = "DNSOverTLS=yes";
2023-09-19 00:17:43 +00:00
};
}