ark/modules/network/dns/cloudflare.nix

11 lines
253 B
Nix
Raw Normal View History

2023-05-08 23:09:44 +03:00
{lib, ...}: {
2022-09-29 16:47:33 +03:00
networking.resolvconf.useLocalResolver = true;
2023-05-08 23:09:44 +03:00
networking.networkmanager.dns = lib.mkForce "none";
2022-09-29 16:47:33 +03:00
services.dnscrypt-proxy2 = {
enable = true;
settings = {
server_names = ["cloudflare" "cloudflare-ipv6"];
};
};
}