git: new settings {signing, lfs, aliases}
This commit is contained in:
parent
2fa0253ee8
commit
54c27a685b
1 changed files with 18 additions and 1 deletions
|
|
@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue