Initial Commit

This commit is contained in:
Lorenzo Good 2025-05-16 18:11:06 -05:00
commit d18f18fc29
Signed by: lorenzo
GPG key ID: 7FCD64BD81180ED0
28 changed files with 1415 additions and 0 deletions

32
common/git.nix Normal file
View file

@ -0,0 +1,32 @@
{...}: {
programs.git = {
enable = true;
lfs.enable = true;
userName = "foehammer127";
userEmail = "foehammer@disroot.org";
signing = {
key = "A972C2063F4F2554";
signByDefault = true;
};
extraConfig = {
init = {defaultBranch = "main";};
pull = {rebase = true;};
rebase = {verify = false;};
};
# Git aliases to use
aliases = {
c = "commit";
cc = "commit";
co = "checkout";
cb = "checkout -b";
aa = "add -A";
a = "add";
ca = "commit --amend";
l = "log";
lo = "log --oneline";
};
};
}