diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-10-23 23:26:21 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-10-29 03:03:50 +0200 |
commit | d198e474a82e57c4ad2cb21e52a2f1ef65af2304 (patch) | |
tree | 59ded281c1fe2d9217a4e18974e5f12f633db2c4 /nixos/modules | |
parent | 236a32069a50537620fc41e8867f106f21ca6239 (diff) | |
download | nixpkgs-d198e474a82e57c4ad2cb21e52a2f1ef65af2304.tar nixpkgs-d198e474a82e57c4ad2cb21e52a2f1ef65af2304.tar.gz nixpkgs-d198e474a82e57c4ad2cb21e52a2f1ef65af2304.tar.bz2 nixpkgs-d198e474a82e57c4ad2cb21e52a2f1ef65af2304.tar.lz nixpkgs-d198e474a82e57c4ad2cb21e52a2f1ef65af2304.tar.xz nixpkgs-d198e474a82e57c4ad2cb21e52a2f1ef65af2304.tar.zst nixpkgs-d198e474a82e57c4ad2cb21e52a2f1ef65af2304.zip |
dnscrypt-proxy service: remove use of mkEnableOption
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/dnscrypt-proxy.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/dnscrypt-proxy.nix b/nixos/modules/services/networking/dnscrypt-proxy.nix index 2714e8d7599..5a24db8ccba 100644 --- a/nixos/modules/services/networking/dnscrypt-proxy.nix +++ b/nixos/modules/services/networking/dnscrypt-proxy.nix @@ -35,7 +35,11 @@ in options = { services.dnscrypt-proxy = { - enable = mkEnableOption "DNSCrypt client proxy"; + enable = mkOption { + default = false; + type = types.bool; + description = "Whether to enable the DNSCrypt client proxy"; + }; localAddress = mkOption { default = "127.0.0.1"; |