logcheck module: use enum

This commit is contained in:
Eric Sagnes 2016-11-04 13:11:37 +09:00
parent ffc0e2f4fc
commit 986510de45

View File

@ -55,9 +55,9 @@ let
levelOption = mkOption {
default = "server";
type = types.str;
type = types.enum [ "workstation" "server" "paranoid" ];
description = ''
Set the logcheck level. Either "workstation", "server", or "paranoid".
Set the logcheck level.
'';
};