nix-config/modules2/zsh/profile.nix
Oliver Davies 556de5e482
All checks were successful
/ check (push) Successful in 1m38s
Move zsh configuration
2025-07-28 02:43:35 +01:00

7 lines
177 B
Nix

{
flake.modules.homeManager.base.programs.zsh.profileExtra = ''
if [[ -z "$DISPLAY" ]] && [[ "$(tty)" == "/dev/tty1" ]]; then
exec startx &>/dev/null
fi
'';
}