This commit is contained in:
2025-08-16 14:46:16 +02:00
parent 8d4ea15585
commit 88bcacf521
33 changed files with 53 additions and 41 deletions

22
modules/home/git.nix Normal file
View 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;
};
};
}