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;
|
enable = true;
|
||||||
userName = "Rouven Seifert";
|
userName = "Rouven Seifert";
|
||||||
userEmail = "rouven@rfive.de";
|
userEmail = "rouven@rfive.de";
|
||||||
extraConfig = {
|
|
||||||
core.pager = "${pkgs.delta}/bin/delta";
|
|
||||||
interactive.diffFilter = "${pkgs.delta}/bin/delta --color-only";
|
|
||||||
delta = {
|
delta = {
|
||||||
|
enable = true;
|
||||||
|
options = {
|
||||||
|
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 = {
|
||||||
|
|
Loading…
Reference in a new issue