refactor(home/hyprland): disable tty1 autostart (greetd should handle it nicely)

This commit is contained in:
Gabriel Fontes
2025-09-22 21:46:48 -03:00
parent ce229d97d3
commit 258b031b68
2 changed files with 0 additions and 20 deletions
@@ -1,19 +0,0 @@
{lib, config, ...}: let
hyprland = lib.getExe config.wayland.windowManager.hyprland.package;
in {
programs.zsh.loginExtra = lib.mkBefore ''
if [[ "$(tty)" == /dev/tty1 ]]; then
exec ${hyprland} &> /dev/null
fi
'';
programs.fish.loginShellInit = lib.mkBefore ''
if test (tty) = /dev/tty1
exec ${hyprland} &> /dev/null
end
'';
programs.bash.profileExtra = lib.mkBefore ''
if [[ "$(tty)" == /dev/tty1 ]]; then
exec ${hyprland} &> /dev/null
fi
'';
}
@@ -26,7 +26,6 @@ in {
../common
../common/wayland-wm
./autostart-tty1.nix
./basic-binds.nix
./hyprbars.nix
./hyprlock.nix