summary refs log tree commit diff
path: root/nixos/modules/services/networking/dnscrypt-proxy.nix
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-10-23 23:26:21 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2016-10-29 03:03:50 +0200
commitd198e474a82e57c4ad2cb21e52a2f1ef65af2304 (patch)
tree59ded281c1fe2d9217a4e18974e5f12f633db2c4 /nixos/modules/services/networking/dnscrypt-proxy.nix
parent236a32069a50537620fc41e8867f106f21ca6239 (diff)
downloadnixpkgs-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/services/networking/dnscrypt-proxy.nix')
-rw-r--r--nixos/modules/services/networking/dnscrypt-proxy.nix6
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";