44 lines
758 B
Nix
44 lines
758 B
Nix
{ pkgs, ... }:
|
|
with pkgs;
|
|
{
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "Ingolf Wagner";
|
|
userEmail = "contact@ingolf-wagner.de";
|
|
signing = {
|
|
key = "42AC51C9482D0834CF488AF1389EC2D64AC71EAC";
|
|
signByDefault = true;
|
|
};
|
|
ignores = [
|
|
"*.swp"
|
|
"*~"
|
|
".idea"
|
|
"*.iml"
|
|
".*penis.*"
|
|
"result"
|
|
".envrc"
|
|
".direnv"
|
|
];
|
|
extraConfig = {
|
|
init.defaultBranch = "main";
|
|
pull.ff = "only";
|
|
push.autoSetupRemote = true;
|
|
};
|
|
#diff-so-fancy.enable = true;
|
|
difftastic.enable = true;
|
|
};
|
|
|
|
home.packages = [
|
|
pre-commit
|
|
gita
|
|
git-repo-updater
|
|
tig
|
|
lazygit
|
|
git-crypt
|
|
gitAndTools.gitflow
|
|
gitAndTools.gitSVN
|
|
gitAndTools.git2cl
|
|
];
|
|
|
|
}
|