unbound service: use mkEnableOption
This commit is contained in:
parent
191a85349b
commit
03c2c87ed6
1 changed files with 1 additions and 5 deletions
|
@ -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"];
|
||||
|
|
Loading…
Reference in a new issue