nixos-config/nixos/homes/palo/git.nix

35 lines
643 B
Nix
Raw Normal View History

2023-12-13 13:56:12 +01:00
{ pkgs, ... }:
with pkgs;
2023-12-13 13:56:12 +01:00
{
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";
};
2024-02-24 02:56:56 +01:00
#diff-so-fancy.enable = true;
difftastic.enable = true;
2023-12-13 13:56:12 +01:00
};
home.packages = [
pre-commit
gita
tig
lazygit
git-crypt
gitAndTools.gitflow
gitAndTools.gitSVN
gitAndTools.git2cl
2023-12-13 13:56:12 +01:00
];
}