nixos-config/nixos/homes/palo/git.nix
Ingolf Wagner 714c042a84
add gitup
2024-05-22 11:01:03 +02:00

35 lines
664 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" ".*penis.*" "result" ".envrc" ".direnv" ];
extraConfig = {
init.defaultBranch = "main";
pull.ff = "only";
};
#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
];
}