git.iko.soy/typeable/nixpkgs
on master help sign in
logcheck module: use enum
commit986510de4562c532beb3c9d794f56e2d8015c9fc authorEric Sagnes <eric.sagnes@gmail.com> dateFri 4 Nov 2016, 13:11 (10 years ago) parentffc0e2f
1 file changed+2−2
nixos/modules/services/logging/logcheck.nix+2−2
nixos/modules/services/logging/logcheck.nix+2−2
@@ -55,9 +55,9 @@ let
5555
5656 levelOption = mkOption {
5757 default = "server";
58− type = types.str;
58+ type = types.enum [ "workstation" "server" "paranoid" ];
5959 description = ''
60− Set the logcheck level. Either "workstation", "server", or "paranoid".
60+ Set the logcheck level.
6161 '';
6262 };
6363