try to source the standard bashrc

This commit is contained in:
Andreas Zweili 2021-11-22 18:33:36 +01:00
parent 97144e42fc
commit 206859458e
2 changed files with 13 additions and 3 deletions

View File

@ -7,6 +7,11 @@
programs.git.userEmail = "andreas@zweili.ch";
#programs.bash.enable = true;
programs.bash = {
enable = true;
bashrcExtra = ''
. ~/git_repos/nixos/home-manager/personal_config/bashrc
'';
};
targets.genericLinux.enable = true;
}

View File

@ -9,6 +9,11 @@
home.shellAliases = {
management-server = "mosh --ssh=\"ssh -p 22\" localadmin@10.40.0.53 tmux a";
};
# raw config files
home.file.".bashrc".source = ./work_config/bashrc;
programs.bash = {
enable = true;
bashrcExtra = ''
. ~/git_repos/nixos/home-manager/work_config/bashrc
'';
};
}