nixos-config/modules/shell/git.nix
2022-11-05 15:51:25 +01:00

23 lines
366 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"; };
};
};
};
}