chore: sign tags and commits by default

Signed-off-by: jolheiser <git@jolheiser.com>
homepage
jolheiser 2024-07-10 11:51:11 -05:00
parent f66a3fe2f3
commit ec01830ff6
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,9 @@
}; };
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAUxLwkJOlalAHTdkbh+m49XTZGKDqWz1o/o8OLmtQdX"; key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAUxLwkJOlalAHTdkbh+m49XTZGKDqWz1o/o8OLmtQdX";
sshSigning = { sshSigning = {
commit.gpgsign = true;
user.signingkey = key; user.signingkey = key;
commit.gpgSign = true;
tag.gpgSign = true;
gpg = { gpg = {
format = "ssh"; format = "ssh";
ssh.allowedSignersFile = "${pkgs.writeText "allowedSigners" "git@jolheiser.com ${key}"}"; ssh.allowedSignersFile = "${pkgs.writeText "allowedSigners" "git@jolheiser.com ${key}"}";
@ -40,7 +41,6 @@ in {
ignores = [".idea/" "result" "node_modules" "ve"]; ignores = [".idea/" "result" "node_modules" "ve"];
extraConfig = extraConfig =
{ {
commit.gpgsign = true;
init.defaultBranch = "main"; init.defaultBranch = "main";
merge.conflictstyle = "zdiff3"; merge.conflictstyle = "zdiff3";
diff.colorMoved = "default"; diff.colorMoved = "default";