move git to home

This commit is contained in:
Tristan 2024-01-05 21:03:25 +00:00
parent f893e3b8e2
commit 2fe0f94a23
4 changed files with 22 additions and 42 deletions

15
lib/programs/home/git.nix Normal file
View file

@ -0,0 +1,15 @@
{
programs.git = {
enable = true;
aliases = {
graph = "log --oneline --all --graph";
amend = "commit --amend --no-edit";
};
delta = {
enable = true;
};
extraConfig = {
pull.rebase = true;
};
};
}