ark/modules/network/dns/cloudflare.nix
2022-10-04 02:08:44 +03:00

11 lines
229 B
Nix

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