Files
cyper-mac/home/git.nix
2025-12-26 11:02:58 +01:00

22 lines
368 B
Nix

{ primaryUser, ... }:
{
programs.git = {
enable = true;
userName = "DerGrumpf"; # TODO replace
userEmail = "p.keier@beyerstedt-it.de"; # TODO replace
lfs.enable = true;
ignores = [ "**/.DS_STORE" ];
extraConfig = {
github = {
user = primaryUser;
};
init = {
defaultBranch = "main";
};
};
};
}