nixos-config/users/rouven/modules/git/default.nix
Rouven Seifert 832afb4fc4 test
jj: init

edit readme v2
2024-06-27 17:47:20 +02:00

51 lines
1.1 KiB
Nix

{ ... }:
{
programs.git = {
enable = true;
userName = "Rouven Seifert";
userEmail = "rouven@rfive.de";
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 = {
enable = true;
settings = {
editor = "hx";
git_protocol = "ssh";
};
};
programs.jujutsu = {
enable = true;
settings = {
user = {
name = "Rouven Seifert";
email = "rouven@rfive.de";
};
};
};
}