diff --git a/nixos/modules/services/logging/journalwatch.nix b/nixos/modules/services/logging/journalwatch.nix index 19ec7f76af8c..7ec2144230ed 100644 --- a/nixos/modules/services/logging/journalwatch.nix +++ b/nixos/modules/services/logging/journalwatch.nix @@ -72,7 +72,7 @@ in package = lib.mkPackageOption pkgs "journalwatch" { }; priority = lib.mkOption { - type = lib.types.int; + type = lib.types.ints.between 0 7; default = 6; description = '' Lowest priority of message to be considered.