Revert "home: bash nonlogin path fix test"

This reverts commit fe53bca5a6cd30d0e091f95e8f4d7bbd7c5a1c65.

it didn't work
This commit is contained in:
NullBite 2024-04-08 11:03:28 -04:00
parent fe53bca5a6
commit e9caab98f7
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -45,13 +45,6 @@ in
programs.bash = {
enable = lib.mkDefault true;
bashrcExtra = ''
#
if ! [[ $- == *i* ]] && ! shopt -q login_shell && [[ -z "''${__NIXFILES_NOLOGIN_PATH:+x}" ]] ; then
PATH="${config.home.profileDirectory}/bin''${PATH:+:''${PATH}}" && export PATH
fi
__NIXFILES_NOLOGIN_PATH=1 && export __NIXFILES_NOLOGIN_PATH
'';
initExtra = ''
export HOME_MANAGER_MANAGED=true;
[[ -e ~/dotfiles/shell/.bashrc ]] && . ~/dotfiles/shell/.bashrc ]]