cartierf89 b5dfc7998d nix os
2025-08-19 11:52:43 -04:00

55 lines
777 B
Nix
Executable File

{
config,
pkgs,
...
}:
{
home.packages = [
pkgs.git
];
# Git configuration
programs.git = {
enable = true;
# User information (from your init.sh)
userName = "cartierf89";
userEmail = "cartierer0eduardo@hotmail.com";
# Git settings
extraConfig = {
init = {
defaultBranch = "main";
};
core = {
editor = "code --wait";
autocrlf = "input";
ignorecase = false;
};
pull = {
rebase = true;
};
push = {
default = "simple";
autoSetupRemote = true;
};
merge = {
tool = "code";
};
diff = {
tool = "code";
};
# Better diff output
color = {
ui = true;
};
};
};
}