1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{...}: { programs.git = { enable = true; # Set privacy-respecting user information. userName = "Linnnus"; userEmail = "[email protected]"; }; home.shellAliases = { gs = "git status"; gd = "git diff"; gc = "git commit"; ga = "git add"; gan = "git add -N"; gap = "git add --patch"; }; }