From 34fe1083bd9c47ebdef5b63521146a8cf788229a Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 22 Sep 2025 15:18:00 +0200 Subject: [PATCH] nixos/journalwatch: use more accurate int types --- nixos/modules/services/logging/journalwatch.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.