18 lines
467 B
Nix
18 lines
467 B
Nix
{ ... }:
|
|
{
|
|
programs.bash = {
|
|
enable = true;
|
|
bashrcExtra = ''
|
|
${builtins.readFile ./nxr.sh}
|
|
${builtins.readFile ./nxinit.sh}
|
|
|
|
eval "$(direnv hook bash)"
|
|
'';
|
|
shellAliases = {
|
|
"quick-switch-c" = "cd ~/Git/nixos-config; ./quick-switch.sh -c";
|
|
"quick-switch" = "cd ~/Git/nixos-config; ./quick-switch.sh";
|
|
"git-override" = "git add . && git commit --amend --no-edit && git push --force-with-lease";
|
|
};
|
|
};
|
|
}
|