2023-12-13 13:56:12 +01:00
|
|
|
{ pkgs, ... }:
|
2023-12-13 19:32:02 +01:00
|
|
|
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 = [
|
2023-12-13 19:32:02 +01:00
|
|
|
pre-commit
|
|
|
|
gita
|
|
|
|
tig
|
|
|
|
lazygit
|
|
|
|
git-crypt
|
|
|
|
gitAndTools.gitflow
|
|
|
|
gitAndTools.gitSVN
|
|
|
|
gitAndTools.git2cl
|
2023-12-13 13:56:12 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
}
|