mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Boot+Refactoring] Add a cmdline config option for cleaner boot option config
This commit is contained in:
parent
8457628ee6
commit
7e26d25066
6 changed files with 43 additions and 22 deletions
|
|
@ -70,10 +70,11 @@ in {
|
|||
|
||||
|
||||
boot.plymouth.enable = mkDefault true;
|
||||
boot.kernelParams = concatLists [
|
||||
(optionals (!generalCfg.debug) [ "splash" "udev.log_level=3" ])
|
||||
["preempt=full"]
|
||||
];
|
||||
aviallon.boot.cmdline = {
|
||||
splash = mkIf (!generalCfg.debug) true;
|
||||
"udev.log_level" = mkIf (!generalCfg.debug) 3;
|
||||
preempt = "full";
|
||||
};
|
||||
boot.initrd.verbose = generalCfg.debug;
|
||||
boot.consoleLogLevel = mkIf (!generalCfg.debug) 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue