modified nix files tailored for nixos, must make modular to merge into master

This commit is contained in:
2024-09-09 09:27:52 -04:00
parent 414420f3ce
commit fc8c44c026
9 changed files with 82 additions and 45 deletions

View File

@ -69,4 +69,19 @@
fi
'';
};
programs.bash = {
enable = true;
initExtra = ''
if [[ -z "$BASH_EXECUTION_STRING" ]]; then
if [[ -n "$ZSH_VERSION" ]]; then
LOGIN_OPTION="--login"
else
LOGIN_OPTION=""
fi
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
fi
'';
};
}