don't sign commits globally, only for personal

This commit is contained in:
Noah Masur 2024-03-27 15:02:20 -04:00
parent a15c05491e
commit a853352a57
No known key found for this signature in database

View File

@ -42,8 +42,8 @@ in {
format = "ssh"; format = "ssh";
ssh.allowedSignersFile = "~/.config/git/allowed-signers"; ssh.allowedSignersFile = "~/.config/git/allowed-signers";
}; };
commit.gpgsign = true; # commit.gpgsign = true;
tag.gpgsign = true; # tag.gpgsign = true;
}; };
ignores = [ ".direnv/**" "result" ]; ignores = [ ".direnv/**" "result" ];
includes = [{ includes = [{
@ -59,6 +59,10 @@ in {
name = "${config.fullName}" name = "${config.fullName}"
email = "7386960+nmasur@users.noreply.github.com" email = "7386960+nmasur@users.noreply.github.com"
signingkey = ~/.ssh/id_ed25519 signingkey = ~/.ssh/id_ed25519
[commit]
gpgsign = true
[tag]
gpgsign = true
''; '';
xdg.configFile."git/allowed-signers".text = '' xdg.configFile."git/allowed-signers".text = ''