nntp-proxy module: use enum

This commit is contained in:
Eric Sagnes 2016-11-16 22:36:53 +09:00
parent fb26d561ed
commit 5259fb2181

View File

@ -148,11 +148,11 @@ in
}; };
verbosity = mkOption { verbosity = mkOption {
type = types.str; type = types.enum [ "error" "warning" "notice" "info" "debug" ];
default = "info"; default = "info";
example = "error"; example = "error";
description = '' description = ''
Verbosity level (error, warning, notice, info, debug) Verbosity level
''; '';
}; };