about summary refs log tree commit diff
path: root/nixos
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
parentfb26d561ed47be24d1288599f4579a4f5c0f360d (diff)
downloadnixlib-5259fb218103cd3111e2534e941362b80d48043f.tar
nixlib-5259fb218103cd3111e2534e941362b80d48043f.tar.gz
nixlib-5259fb218103cd3111e2534e941362b80d48043f.tar.bz2
nixlib-5259fb218103cd3111e2534e941362b80d48043f.tar.lz
nixlib-5259fb218103cd3111e2534e941362b80d48043f.tar.xz
nixlib-5259fb218103cd3111e2534e941362b80d48043f.tar.zst
nixlib-5259fb218103cd3111e2534e941362b80d48043f.zip
nntp-proxy module: use enum
Diffstat (limited to 'nixos')
-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
         '';
       };