fix(gpu): add checks for session-specific options
This commit is contained in:
parent
4d54568c62
commit
93277c7c2b
3 changed files with 12 additions and 7 deletions
|
@ -3,7 +3,8 @@
|
|||
, config
|
||||
, ... }: with lib; let
|
||||
cfg = config.global.gpu;
|
||||
in mkIf cfg.enable {
|
||||
gui = with cfg; enable && session;
|
||||
in mkIf gui {
|
||||
boot = {
|
||||
loader.timeout = mkDefault 0;
|
||||
consoleLogLevel = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue