ark/modules/network/dns/cloudflare.nix
2023-05-08 23:09:44 +03:00

11 lines
253 B
Nix

{lib, ...}: {
networking.resolvconf.useLocalResolver = true;
networking.networkmanager.dns = lib.mkForce "none";
services.dnscrypt-proxy2 = {
enable = true;
settings = {
server_names = ["cloudflare" "cloudflare-ipv6"];
};
};
}