Adds git config as home manager module
This commit is contained in:
parent
636416fdbe
commit
5a9ad9bbd1
1 changed files with 25 additions and 0 deletions
25
home/modules/git/default.nix
Normal file
25
home/modules/git/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Dennis Schoepf";
|
||||
userEmail = "me@dnsc.io";
|
||||
ignores = [ ".DS_Store" ];
|
||||
extraConfig = {
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
|
||||
core = {
|
||||
ignorecase = "false";
|
||||
};
|
||||
|
||||
pull = {
|
||||
rebase = false;
|
||||
};
|
||||
|
||||
push = {
|
||||
autoSetupRemote = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue