fix(login): loginShellInit wrong

This commit is contained in:
Barrett Ruth 2026-02-22 11:59:15 -05:00
parent 4a7aa21cff
commit 41aca71983
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
2 changed files with 2 additions and 6 deletions

View file

@ -8,7 +8,7 @@
let
tuigreet = lib.getExe pkgs.tuigreet;
loginShell = pkgs.writeShellScript "login-shell" ''
exec $(getent passwd $(id -un) | cut -d: -f7) -l
exec $(getent passwd $(id -un) | cut -d: -f7) -lc 'exec start-hyprland'
'';
in
{
@ -98,11 +98,6 @@ in
export INPUTRC="$HOME/.config/nix/config/bash/inputrc"
export THEME="midnight"
'';
# loginShellInit = ''
# if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
# exec start-hyprland
# fi
# '';
interactiveShellInit = ''
[ -f "$HOME/.config/nix/config/bash/bashrc" ] && . "$HOME/.config/nix/config/bash/bashrc"
'';