Files
nix-config/modules/home/programs/git/default.nix
mjallen18 3d213c8769 nixfmt
2025-07-24 11:06:08 -05:00

22 lines
347 B
Nix

{ ... }:
let
gitAliases = {
co = "checkout";
ci = "commit";
cia = "commit --amend";
s = "status";
st = "status";
b = "branch";
p = "pull --rebase";
pu = "push";
};
in
{
programs.git = {
enable = true;
userName = "mjallen18";
userEmail = "matt.l.jallen@gmail.com";
aliases = gitAliases;
};
}