nixos-config/modules/shell/git.nix
2022-11-05 10:30:12 +01:00

22 lines
357 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_yubiC";
signByDefault = true;
extraConfig = {
gpg = { format = ssh; };
};
};
};
}