home: check if hyprland enabled for autostart
This commit is contained in:
parent
dcf7fe3ec2
commit
11599931eb
@ -12,7 +12,7 @@ in
|
||||
${hyprland}
|
||||
fi
|
||||
'';
|
||||
in lib.mkIf cfg.enable {
|
||||
in lib.mkIf (cfg.enable && config.wayland.windowManager.hyprland.enable) {
|
||||
# auto start Hyprland on tty1
|
||||
programs.zsh.initExtra = initCommands;
|
||||
programs.bash.initExtra = initCommands;
|
||||
|
Loading…
x
Reference in New Issue
Block a user