From f1e532278433da4054c547f386101105e89995ef Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Fri, 21 Jun 2024 14:19:52 +0530 Subject: [PATCH] feat: Add git ssh key signing --- common/home.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common/home.nix b/common/home.nix index b0bec3f8..f408f3f5 100644 --- a/common/home.nix +++ b/common/home.nix @@ -175,6 +175,13 @@ in { merge.conflictStyle = "diff3"; diff.colorMoved = "default"; push.autoSetupRemote = true; + user.signingkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJfKKrX8yeIHUUury0aPwMY6Ha+BJyUR7P0Gqid90ik/"; + gpg.format = "ssh"; + commit.gpgsign = true; + pull = { + rebase = true; + }; + "gpg \"ssh\"".program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"; }; }; nix-index = {