darwin pkgs support sucks fr
This commit is contained in:
30
modules/git.nix
Normal file
30
modules/git.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user