nixos-config/config/apps/bash/default.nix

18 lines
467 B
Nix
Raw Normal View History

2024-07-29 00:00:59 +00:00
{ ... }:
{
programs.bash = {
enable = true;
bashrcExtra = ''
2024-08-04 22:03:09 +00:00
${builtins.readFile ./nxr.sh}
2024-11-23 23:27:15 +00:00
${builtins.readFile ./nxinit.sh}
2024-08-04 22:03:09 +00:00
2024-08-02 16:50:48 +00:00
eval "$(direnv hook bash)"
2024-07-29 00:00:59 +00:00
'';
shellAliases = {
2024-08-12 01:15:17 +00:00
"quick-switch-c" = "cd ~/Git/nixos-config; ./quick-switch.sh -c";
"quick-switch" = "cd ~/Git/nixos-config; ./quick-switch.sh";
2024-07-29 00:00:59 +00:00
"git-override" = "git add . && git commit --amend --no-edit && git push --force-with-lease";
};
};
}