2022-09-17 16:50:50 +02:00
|
|
|
#
|
|
|
|
# Git
|
|
|
|
#
|
2022-10-15 11:10:35 +02:00
|
|
|
{ user, ... }:
|
2022-09-17 16:50:50 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
programs = {
|
|
|
|
git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "Kabbone";
|
|
|
|
userEmail = "tobias@opel-online.de";
|
2022-10-09 14:52:39 +02:00
|
|
|
lfs.enable = true;
|
|
|
|
signing = {
|
2022-11-05 15:51:25 +01:00
|
|
|
key = "/home/${user}/.ssh/id_ed25519_sk_rk_red";
|
2022-11-05 10:30:12 +01:00
|
|
|
signByDefault = true;
|
2022-11-05 14:50:15 +01:00
|
|
|
};
|
2022-11-05 10:30:12 +01:00
|
|
|
extraConfig = {
|
2022-11-05 14:50:15 +01:00
|
|
|
gpg = { format = "ssh"; };
|
2024-07-14 14:14:43 +02:00
|
|
|
credential = { helper = "cache --timeout=3600"; };
|
2022-10-15 11:10:35 +02:00
|
|
|
};
|
2024-07-14 12:59:51 +02:00
|
|
|
difftastic.enable = true;
|
2022-09-17 16:50:50 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|