unbound service: use mkEnableOption

This commit is contained in:
Joachim Fasting 2016-08-30 19:28:30 +02:00
parent 191a85349b
commit 03c2c87ed6
No known key found for this signature in database
GPG key ID: 7544761007FE4E08

View file

@ -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"];