nixos/rshim: use more accurate int types

This commit is contained in:
h7x4
2025-09-22 15:35:37 +02:00
parent 776e13baaf
commit bda8f77974

View File

@@ -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).
'';