First Commit

This commit is contained in:
2026-01-05 04:04:36 +01:00
commit c7a17f7772
83 changed files with 3574 additions and 0 deletions

22
home/terminal/git.nix Normal file
View File

@@ -0,0 +1,22 @@
{ email, prettyUsername, ... }:
{
programs.git = {
enable = true;
settings = {
user = {
name = "${prettyUsername}";
email = "${email}";
};
# FOSS-friendly settings
push.default = "simple"; # Match modern push behavior
credential.helper = "cache --timeout=7200";
init.defaultBranch = "main"; # Set default new branches to 'main'
log.decorate = "full"; # Show branch/tag info in git log
log.date = "iso"; # ISO 8601 date format
# Conflict resolution style for readable diffs
merge.conflictStyle = "diff3";
};
};
}