2024-05-04 23:15:57 +03:00
|
|
|
{ secret, ... }: {
|
|
|
|
config = {
|
|
|
|
credential.helper = "store";
|
2024-05-14 15:57:16 +03:00
|
|
|
gpg.format = secret.crypto.sign.git.format;
|
2024-05-12 04:22:57 +03:00
|
|
|
gpg.ssh.allowedSignersFile = toString(secret.crypto.sign.git.allowed);
|
2024-05-04 23:15:57 +03:00
|
|
|
init.defaultBranch = "main";
|
|
|
|
pull.rebase = true;
|
|
|
|
push.autoSetupRemote = true;
|
|
|
|
rebase.autoStash = true;
|
2024-05-12 04:22:57 +03:00
|
|
|
user.signingkey = builtins.readFile secret.crypto.sign.git.key;
|
2024-05-04 23:15:57 +03:00
|
|
|
};
|
|
|
|
}
|