nixos-config/modules/shell/git.nix
2024-07-14 12:59:51 +02:00

24 lines
398 B
Nix

#
# Git
#
{ user, ... }:
{
programs = {
git = {
enable = true;
userName = "Kabbone";
userEmail = "tobias@opel-online.de";
lfs.enable = true;
signing = {
key = "/home/${user}/.ssh/id_ed25519_sk_rk_red";
signByDefault = true;
};
extraConfig = {
gpg = { format = "ssh"; };
};
difftastic.enable = true;
};
};
}