mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Boot] Fix error if loops_per_jiffies is not set
This commit is contained in:
parent
54d899103d
commit
10a0eb5df2
1 changed files with 1 additions and 1 deletions
2
boot.nix
2
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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue