home-manager/shell/bash.nix

25 lines
411 B
Nix
Raw Normal View History

2023-10-09 20:18:11 +00:00
{ config, pkgs, ... }:
{
programs.bash = {
enable = true;
enableCompletion = true;
enableVteIntegration = true;
bashrcExtra = ''
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
''; # this should be changed to use home.sessionVariables
profileExtra = ''
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/git_school
ssh-add ~/.ssh/git_personal
ssh-add ~/.ssh/id_ed25519
'';
};
}