NixOS module to enable DNS configuration with unbound and https://github.com/DNSCrypt/dnscrypt-proxy
inputs = {
...
dnscrypt-module.url = "github:andreoss/dnscrypt-nixos-module";
...
};
modules = [ inputs.dnscrypt-module.nixosModules.default ... ];
networking = {
dns-crypt.enable = true;
};