From 50f0a8bbe46783d4bebac32121e6df5bb03eae6a Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Mon, 24 Mar 2025 14:16:38 -0400 Subject: [PATCH] Signing should now work --- modules/common/git.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/common/git.nix b/modules/common/git.nix index eaf960a..69da086 100644 --- a/modules/common/git.nix +++ b/modules/common/git.nix @@ -9,7 +9,10 @@ }; commit.gpgsign = true; pull.rebase = true; - gpg.format = "ssh"; + gpg = { + format = "ssh"; + ssh.allowedSignersFile = pkgs.writeText "allowedSigners" "henry@henryhiles.com ${builtins.elemAt (import ../../secrets/keys.nix) 0}"; + }; }; };