darwin pkgs support sucks fr

This commit is contained in:
Kulvir Singh
2025-01-10 22:47:01 +05:30
parent f3417e1987
commit d54160c4db
13 changed files with 198 additions and 24 deletions

30
modules/git.nix Normal file
View File

@@ -0,0 +1,30 @@
{
username,
email,
...
}: {
programs.git = {
enable = true;
userName = "Kulvir Singh";
userEmail = "kulvirs734@gmail.com";
aliases = {
cm = "commit -m";
amend = "commit --amend";
};
ignores = [
".DS_Store"
".env"
];
lfs.enable = true; # make ptr to large files(audio/video) locally
extraConfig = {
init.defaultBranch = "trunk";
credential.helper = "cache";
push.autoSetupRemote = true;
};
};
}