git: use native delta options and configure sendmail

This commit is contained in:
Rouven Seifert 2024-02-17 19:13:52 +01:00
parent 83e9878a0e
commit d7475bf560
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -4,21 +4,31 @@
enable = true; enable = true;
userName = "Rouven Seifert"; userName = "Rouven Seifert";
userEmail = "rouven@rfive.de"; userEmail = "rouven@rfive.de";
extraConfig = { delta = {
core.pager = "${pkgs.delta}/bin/delta"; enable = true;
interactive.diffFilter = "${pkgs.delta}/bin/delta --color-only"; options = {
delta = { features = "decorations";
navigate = true; navigate = true;
light = false; light = false;
side-by-side = true; side-by-side = true;
line-numbers = true; line-numbers = true;
}; };
};
extraConfig = {
merge.conflictStyle = "diff3"; merge.conflictStyle = "diff3";
diff.colorMoved = "default"; diff.colorMoved = "default";
user.signingkey = "B95E8FE6B11C4D09"; user.signingkey = "B95E8FE6B11C4D09";
pull.rebase = false; pull.rebase = false;
init.defaultBranch = "main"; init.defaultBranch = "main";
commit.gpgsign = true; commit.gpgsign = true;
sendemail = {
from = "Rouven Seifert <rouven@rfive.de>";
smtpEncryption = "ssl";
smtpServer = "mail.rfive.de";
smteServerPort = 465;
smtpSslCertPath = "/etc/ssl/certs/ca-certificates.crt";
smtpUser = "rouven";
};
}; };
}; };
programs.gh = { programs.gh = {