Initial shared NixOS modules
This commit is contained in:
21
home/default/git.nix
Normal file
21
home/default/git.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
lfs.enable = true;
|
||||
|
||||
extraConfig = {
|
||||
pull.ff = "only";
|
||||
|
||||
merge.conflictstyle = "zdiff3";
|
||||
init.defaultBranch = "main";
|
||||
diff.algorithm = "histogram";
|
||||
|
||||
transfer.fsckobjects = true;
|
||||
fetch.fsckobjects = true;
|
||||
receive.fsckObjects = true;
|
||||
|
||||
log.date = "iso";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user