From bda8f779742f33ada3e4184af99eb88de478eadd Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 22 Sep 2025 15:35:37 +0200 Subject: [PATCH] nixos/rshim: use more accurate int types --- nixos/modules/services/misc/rshim.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/rshim.nix b/nixos/modules/services/misc/rshim.nix index 49296f0e2f05..37bcb40e16e7 100644 --- a/nixos/modules/services/misc/rshim.nix +++ b/nixos/modules/services/misc/rshim.nix @@ -61,7 +61,7 @@ in }; log-level = lib.mkOption { - type = lib.types.int; + type = lib.types.ints.between 0 4; description = '' Specify the log level (0:none, 1:error, 2:warning, 3:notice, 4:debug). '';