reNixos/hand7s/programs/git.nix
s0me1newithhand7s 5dab6c5e28
hand7s: fmt
Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
2025-06-13 13:13:26 +03:00

23 lines
622 B
Nix

{config, ...}: {
programs = {
git = {
enable = true;
userEmail = "117505144+s0me1newithhand7s@users.noreply.github.com";
userName = "s0me1newithhand7s";
aliases = {
pushall = "push github; push gitlab";
pushall-f = "push --force github; push --force gitlab";
};
signing = {
format = "ssh";
signByDefault = true;
key = config.sops.secrets.sshKeyOpen.path;
};
lfs = {
enable = true;
};
};
};
}