diff --git a/boot.nix b/boot.nix index 6ca3d9e..c19db52 100644 --- a/boot.nix +++ b/boot.nix @@ -77,7 +77,7 @@ in description = "Set loops_per_jiffies to given constant, reducing boot-time. A value of 0 means autodetection."; default = 0; example = 4589490; - type = types.addCheck types.int (v: v > 500); + type = types.addCheck types.int (v: v > 500 || v == 0); }; cmdline = mkOption {