1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

feat(git): use PGP for signing (for now)

This commit is contained in:
Ryan Cao 2024-08-04 18:25:08 +08:00
parent 76e232b630
commit 8f347ee1ec
Signed by: ryanccn
GPG key ID: 48C96B2057D71CB1
6 changed files with 41 additions and 45 deletions

View file

@ -12,12 +12,11 @@ _: {
userEmail = "70191398+ryanccn@users.noreply.github.com";
extraConfig = {
user.signingkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM4VfgP5+HdCmM/VpTcW8jLKLyR8s0qqoIDXv7iTnWlR";
init.defaultBranch = "main";
commit.gpgsign = true;
gpg.format = "ssh";
"gpg \"ssh\"".program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign";
gpg.format = "openpgp";
user.signingkey = "48C96B2057D71CB1";
log.date = "iso";
merge.conflictstyle = "zdiff3";

View file

@ -19,6 +19,7 @@ in
home.packages = with pkgs; [
(rust-bin.stable.latest.default.override { extensions = [ "llvm-tools-preview" ]; })
cargo-audit
cargo-bloat
cargo-cache
cargo-deny