[Desktop/General] always enable sysrq if debug mode enabled

This commit is contained in:
Antoine Viallon 2024-04-16 19:13:36 +02:00
parent 511299927e
commit e5da0315e7
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -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;