git: new settings {signing, lfs, aliases}

This commit is contained in:
hand7s 2025-04-27 13:19:07 +03:00
parent 2fa0253ee8
commit 54c27a685b
No known key found for this signature in database

View file

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