home: check if hyprland enabled for autostart

This commit is contained in:
NullBite 2024-04-16 02:15:49 -04:00
parent dcf7fe3ec2
commit 11599931eb
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

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