2023-05-19 11:42:43 +02:00
|
|
|
{ pkgs, ... }:
|
2022-12-19 19:30:32 +01:00
|
|
|
{
|
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "Rouven Seifert";
|
2023-03-26 14:27:15 +02:00
|
|
|
userEmail = "rouven@rfive.de";
|
2022-12-19 19:30:32 +01:00
|
|
|
extraConfig = {
|
2023-04-06 22:31:45 +02:00
|
|
|
core.pager = "${pkgs.delta}/bin/delta";
|
|
|
|
interactive.diffFilter = "${pkgs.delta}/bin/delta --color-only";
|
2023-02-25 23:59:19 +01:00
|
|
|
delta = {
|
|
|
|
navigate = true;
|
|
|
|
light = false;
|
|
|
|
side-by-side = true;
|
|
|
|
line-numbers = true;
|
|
|
|
};
|
|
|
|
merge.conflictStyle = "diff3";
|
|
|
|
diff.colorMoved = "default";
|
2022-12-19 19:30:32 +01:00
|
|
|
user.signingkey = "B95E8FE6B11C4D09";
|
|
|
|
pull.rebase = false;
|
|
|
|
init.defaultBranch = "main";
|
|
|
|
commit.gpgsign = true;
|
|
|
|
};
|
|
|
|
};
|
2023-01-06 22:39:08 +01:00
|
|
|
programs.gh = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
editor = "nvim";
|
|
|
|
git_protocol = "ssh";
|
|
|
|
};
|
|
|
|
};
|
2022-12-19 19:30:32 +01:00
|
|
|
}
|