diff options
-rw-r--r-- | nixos/modules/services/networking/unbound.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/unbound.nix b/nixos/modules/services/networking/unbound.nix index 677cc2ce0c3..bad0d2d4e85 100644 --- a/nixos/modules/services/networking/unbound.nix +++ b/nixos/modules/services/networking/unbound.nix @@ -39,26 +39,31 @@ in enable = mkOption { default = false; + type = types.bool; description = "Whether to enable the Unbound domain name server."; }; allowedAccess = mkOption { default = ["127.0.0.0/24"]; + type = types.listOf types.str; description = "What networks are allowed to use unbound as a resolver."; }; interfaces = mkOption { default = [ "127.0.0.1" "::1" ]; + type = types.listOf types.str; description = "What addresses the server should listen on."; }; forwardAddresses = mkOption { default = [ ]; + type = types.listOf types.str; description = "What servers to forward queries to."; }; extraConfig = mkOption { default = ""; + type = types.str; description = "Extra lines of unbound config."; }; |