reorg
This commit is contained in:
22
modules/home-manager/git.nix
Normal file
22
modules/home-manager/git.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{...}: let
|
||||
name = "Christoph Schmatzler";
|
||||
in {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
ignores = ["*.swp"];
|
||||
userName = name;
|
||||
lfs = {
|
||||
enable = true;
|
||||
};
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
core = {
|
||||
editor = "vim";
|
||||
autocrlf = "input";
|
||||
};
|
||||
# commit.gpgsign = true;
|
||||
pull.rebase = true;
|
||||
rebase.autoStash = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user