nix-config/modules/zsh/profile.nix

8 lines
177 B
Nix
Raw Normal View History

2025-07-28 02:34:00 +01:00
{
flake.modules.homeManager.base.programs.zsh.profileExtra = ''
if [[ -z "$DISPLAY" ]] && [[ "$(tty)" == "/dev/tty1" ]]; then
exec startx &>/dev/null
fi
'';
}