2023-08-03 13:30:40 +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";
|
2024-02-17 19:13:52 +01:00
|
|
|
delta = {
|
|
|
|
enable = true;
|
|
|
|
options = {
|
|
|
|
features = "decorations";
|
2023-02-25 23:59:19 +01:00
|
|
|
navigate = true;
|
|
|
|
light = false;
|
|
|
|
side-by-side = true;
|
|
|
|
line-numbers = true;
|
|
|
|
};
|
2024-02-17 19:13:52 +01:00
|
|
|
};
|
|
|
|
extraConfig = {
|
2023-02-25 23:59:19 +01:00
|
|
|
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;
|
2024-02-17 19:13:52 +01:00
|
|
|
sendemail = {
|
|
|
|
from = "Rouven Seifert <rouven@rfive.de>";
|
|
|
|
smtpEncryption = "ssl";
|
|
|
|
smtpServer = "mail.rfive.de";
|
|
|
|
smteServerPort = 465;
|
|
|
|
smtpSslCertPath = "/etc/ssl/certs/ca-certificates.crt";
|
|
|
|
smtpUser = "rouven";
|
|
|
|
};
|
2022-12-19 19:30:32 +01:00
|
|
|
};
|
|
|
|
};
|
2023-01-06 22:39:08 +01:00
|
|
|
programs.gh = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
2023-05-26 00:01:59 +02:00
|
|
|
editor = "hx";
|
2023-01-06 22:39:08 +01:00
|
|
|
git_protocol = "ssh";
|
|
|
|
};
|
|
|
|
};
|
2022-12-19 19:30:32 +01:00
|
|
|
}
|