Dnscrypt proxy2
services.dnscrypt-proxy2.configFile
Path to TOML config file. See: https://github.com/DNSCrypt/dnscrypt-proxy/blob/master/dnscrypt-proxy/example-dnscrypt-proxy.toml If this option is set, it will override any configuration done in options.services.dnscrypt-proxy2.settings.
Type: path
Default
TOML file generated from {option}services.dnscrypt-proxy2.settings
Example
"/etc/dnscrypt-proxy/dnscrypt-proxy.toml"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/dnscrypt-proxy2.nix
services.dnscrypt-proxy2.enable
Whether to enable dnscrypt-proxy2.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/dnscrypt-proxy2.nix
services.dnscrypt-proxy2.settings
Attrset that is converted and passed as TOML config file. For available params, see: https://github.com/DNSCrypt/dnscrypt-proxy/blob/2.1.5/dnscrypt-proxy/example-dnscrypt-proxy.toml
Type: attribute set
Default
{ }
Example
{sources.public-resolvers = {urls = [ "https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md" ];cache_file = "public-resolvers.md";minisign_key = "RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3";refresh_delay = 72;};}
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/dnscrypt-proxy2.nix
services.dnscrypt-proxy2.upstreamDefaults
Whether to base the config declared in {option}services.dnscrypt-proxy2.settings
on the upstream example config (https://github.com/DNSCrypt/dnscrypt-proxy/blob/master/dnscrypt-proxy/example-dnscrypt-proxy.toml)
Disable this if you want to declare your dnscrypt config from scratch.
Type: boolean
Default
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/networking/dnscrypt-proxy2.nix