mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Desktop] set systemd stage-1 init loglevel to the same value as console loglevel
This commit is contained in:
parent
821288263b
commit
79853e531b
1 changed files with 3 additions and 0 deletions
|
|
@ -80,6 +80,9 @@ in {
|
||||||
};
|
};
|
||||||
boot.initrd.verbose = generalCfg.debug;
|
boot.initrd.verbose = generalCfg.debug;
|
||||||
boot.consoleLogLevel = mkIf (!generalCfg.debug) 1;
|
boot.consoleLogLevel = mkIf (!generalCfg.debug) 1;
|
||||||
|
boot.initrd.systemd.managerEnvironment = {
|
||||||
|
SYSTEMD_LOG_LEVEL = toString config.boot.consoleLogLevel;
|
||||||
|
};
|
||||||
|
|
||||||
console.enable = mkDefault false; # Completly disable console by default
|
console.enable = mkDefault false; # Completly disable console by default
|
||||||
security.polkit.enable = true; # Better interactive privilege prompts
|
security.polkit.enable = true; # Better interactive privilege prompts
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue