nntp-proxy module: use enum

This commit is contained in:
Eric Sagnes 2016-11-16 22:36:53 +09:00
parent fb26d561ed
commit 5259fb2181
1 changed files with 2 additions and 2 deletions

View File

@ -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
'';
};