mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
git: use native delta options and configure sendmail
This commit is contained in:
parent
83e9878a0e
commit
d7475bf560
|
@ -4,21 +4,31 @@
|
|||
enable = true;
|
||||
userName = "Rouven Seifert";
|
||||
userEmail = "rouven@rfive.de";
|
||||
extraConfig = {
|
||||
core.pager = "${pkgs.delta}/bin/delta";
|
||||
interactive.diffFilter = "${pkgs.delta}/bin/delta --color-only";
|
||||
delta = {
|
||||
enable = true;
|
||||
options = {
|
||||
features = "decorations";
|
||||
navigate = true;
|
||||
light = false;
|
||||
side-by-side = true;
|
||||
line-numbers = true;
|
||||
};
|
||||
};
|
||||
extraConfig = {
|
||||
merge.conflictStyle = "diff3";
|
||||
diff.colorMoved = "default";
|
||||
user.signingkey = "B95E8FE6B11C4D09";
|
||||
pull.rebase = false;
|
||||
init.defaultBranch = "main";
|
||||
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 = {
|
||||
|
|
Loading…
Reference in a new issue