reNixos/hand7s/programs/git.nix
s0me1newithhand7s 2939b08891 big staging update
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
2025-12-29 16:42:07 +03:00

28 lines
552 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;
};
};
};
}