git.iko.soy/typeable/nixpkgs
on master help sign in
unbound service: use mkEnableOption
commit03c2c87ed6ce4747ea0549f57e441ff197f2e736 authorJoachim Fasting <joachifm@fastmail.fm> dateTue 30 Aug 2016, 19:28 (10 years ago) parent191a853
1 file changed+1−5
nixos/modules/services/networking/unbound.nix+1−5
nixos/modules/services/networking/unbound.nix+1−5
@@ -43,11 +43,7 @@ in
4343 options = {
4444 services.unbound = {
4545
46− enable = mkOption {
47− default = false;
48− type = types.bool;
49− description = "Whether to enable the Unbound domain name server.";
50− };
46+ enable = mkEnableOption "Unbound domain name server";
5147
5248 allowedAccess = mkOption {
5349 default = ["127.0.0.0/24"];