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

15 lines
289 B
Nix

{ ... }:
{
programs.bash = {
enable = true;
bashrcExtra = ''
${builtins.readFile ./nxr.sh}
eval "$(direnv hook bash)"
'';
shellAliases = {
"git-override" = "git add . && git commit --amend --no-edit && git push --force-with-lease";
};
};
}