diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-08-30 19:28:30 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-09-01 14:51:32 +0200 |
commit | 03c2c87ed6ce4747ea0549f57e441ff197f2e736 (patch) | |
tree | 3254e7189fb13ffb85b6fb7eaeec3b77f6d74d7d /nixos/modules/services/networking | |
parent | 191a85349b09a6b360c779ae05a980a8a8e48134 (diff) | |
download | nixlib-03c2c87ed6ce4747ea0549f57e441ff197f2e736.tar nixlib-03c2c87ed6ce4747ea0549f57e441ff197f2e736.tar.gz nixlib-03c2c87ed6ce4747ea0549f57e441ff197f2e736.tar.bz2 nixlib-03c2c87ed6ce4747ea0549f57e441ff197f2e736.tar.lz nixlib-03c2c87ed6ce4747ea0549f57e441ff197f2e736.tar.xz nixlib-03c2c87ed6ce4747ea0549f57e441ff197f2e736.tar.zst nixlib-03c2c87ed6ce4747ea0549f57e441ff197f2e736.zip |
unbound service: use mkEnableOption
Diffstat (limited to 'nixos/modules/services/networking')
-rw-r--r-- | nixos/modules/services/networking/unbound.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/nixos/modules/services/networking/unbound.nix b/nixos/modules/services/networking/unbound.nix index 0dd24478f409..f2691ba5cf4b 100644 --- a/nixos/modules/services/networking/unbound.nix +++ b/nixos/modules/services/networking/unbound.nix @@ -43,11 +43,7 @@ in options = { services.unbound = { - enable = mkOption { - default = false; - type = types.bool; - description = "Whether to enable the Unbound domain name server."; - }; + enable = mkEnableOption "Unbound domain name server"; allowedAccess = mkOption { default = ["127.0.0.0/24"]; |