Talk: Encrypted DNS
From NixOS Wiki
Is `stateDir` still neccessary. Isn't it already set in https://github.com/NixOS/nixpkgs/blob/9370544d849be8a07193e7611d02e6f6f1b10768/nixos/modules/services/networking/dnscrypt-proxy2.nix#L106
Also I think cache_file should be set to "/var/lib/dnscrypt-proxy/public-resolvers.md" and not "/var/lib/dnscrypt-proxy2/public-resolvers.md" because of that.