summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/networking/nntp-proxy.nix
diff options
context:
space:
mode:
authorEric Sagnes <eric.sagnes@gmail.com>2016-11-16 22:36:53 +0900
committerEric Sagnes <eric.sagnes@gmail.com>2016-11-16 22:36:53 +0900
commit5259fb218103cd3111e2534e941362b80d48043f (patch)
treee95f5757cbc5292a7b5c4594ff50857416de1deb /nixos/modules/services/networking/nntp-proxy.nix
parentfb26d561ed47be24d1288599f4579a4f5c0f360d (diff)
nntp-proxy module: use enum
Diffstat (limited to 'nixos/modules/services/networking/nntp-proxy.nix')
-rw-r--r--nixos/modules/services/networking/nntp-proxy.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/nntp-proxy.nix b/nixos/modules/services/networking/nntp-proxy.nix
index dca8ccac7627..7eebecb23b00 100644
--- a/nixos/modules/services/networking/nntp-proxy.nix
+++ b/nixos/modules/services/networking/nntp-proxy.nix
@@ -148,11 +148,11 @@ in
};
verbosity = mkOption {
- type = types.str;
+ type = types.enum [ "error" "warning" "notice" "info" "debug" ];
default = "info";
example = "error";
description = ''
- Verbosity level (error, warning, notice, info, debug)
+ Verbosity level
'';
};