reNixos/hand7s/programs/git.nix
s0me1newithhand7s e4e1b03c7e
treewide: upstreaming changes
Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
2025-10-24 21:03:46 +03:00

28 lines
678 B
Nix

{
pkgs,
osConfig,
...
}: {
programs = {
git = {
enable = true;
package = pkgs.git;
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 = osConfig.sops.secrets.sshKey.path;
};
lfs = {
enable = true;
};
};
};
}