nix/home/programs/git.nix
2024-01-06 17:40:24 +00:00

16 lines
283 B
Nix

{
programs.git = {
enable = true;
aliases = {
graph = "log --oneline --all --graph";
amend = "commit --amend --no-edit";
sdiff = "diff --staged";
};
delta = {
enable = true;
};
extraConfig = {
pull.rebase = true;
};
};
}