git.iko.soy/typeable/nixpkgs
on master help sign in
dnscrypt-proxy service: use mkEnableOption
commit8131065b63601b40e21ad9e9f841b5e5fa2e0fd5 authorJoachim Fasting <joachifm@fastmail.fm> dateMon 23 Mar 2015, 20:44 (12 years ago) parent2e8bc2b
1 file changed+7−11
nixos/modules/services/networking/dnscrypt-proxy.nix+7−11
nixos/modules/services/networking/dnscrypt-proxy.nix+7−11
@@ -17,17 +17,13 @@ in
1717{
1818 options = {
1919 services.dnscrypt-proxy = {
20− enable = mkOption {
21− default = false;
22− type = types.bool;
23− description = ''
24− Enable dnscrypt-proxy. The proxy relays regular DNS queries to a
25− DNSCrypt enabled upstream resolver. The traffic between the
26− client and the upstream resolver is encrypted and authenticated,
27− which may mitigate the risk of MITM attacks and third-party
28− snooping (assuming the upstream is trustworthy).
29− '';
30− };
20+ enable = mkEnableOption ''
21+ Enable dnscrypt-proxy. The proxy relays regular DNS queries to a
22+ DNSCrypt enabled upstream resolver. The traffic between the
23+ client and the upstream resolver is encrypted and authenticated,
24+ which may mitigate the risk of MITM attacks and third-party
25+ snooping (assuming the upstream is trustworthy).
26+ '';
3127 localAddress = mkOption {
3228 default = "127.0.0.1";
3329 type = types.string;