bash: add bash package to home.packages

Fixes #5295
This commit is contained in:
Robert Helgesson 2024-04-19 09:50:22 +02:00
parent ffc3600f40
commit f3506ba86c
No known key found for this signature in database
GPG Key ID: 96E745BD17AA17ED
1 changed files with 2 additions and 0 deletions

View File

@ -190,6 +190,8 @@ in {
HISTIGNORE = escapeShellArg (concatStringsSep ":" cfg.historyIgnore);
}));
in mkIf cfg.enable {
home.packages = [ pkgs.bashInteractive ];
home.file.".bash_profile".source = writeBashScript "bash_profile" ''
# include .profile if it exists
[[ -f ~/.profile ]] && . ~/.profile