mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Desktop/General] always enable sysrq if debug mode enabled
This commit is contained in:
parent
511299927e
commit
e5da0315e7
1 changed files with 2 additions and 0 deletions
|
|
@ -79,6 +79,8 @@ in {
|
|||
"usbhid.mousepoll" = 1; # 1ms latency for mouse
|
||||
"usbhid.kbpoll" = 4; # 4ms latency for kb
|
||||
"systemd.log_level" = config.boot.initrd.systemd.managerEnvironment.SYSTEMD_LOG_LEVEL;
|
||||
|
||||
sysrq_always_enabled = mkIf generalCfg.debug "";
|
||||
};
|
||||
boot.initrd.verbose = generalCfg.debug;
|
||||
boot.consoleLogLevel = mkIf (!generalCfg.debug) 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue