diff options
Diffstat (limited to 'home/git')
-rw-r--r-- | home/git/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/home/git/default.nix b/home/git/default.nix index fc368f7..04a4ce5 100644 --- a/home/git/default.nix +++ b/home/git/default.nix @@ -32,6 +32,10 @@ in branch.autosetuprebase = "remote"; branch.sort = "authordate"; commit.template = "${config.xdg.dataHome}/git/commit.template"; + commit.gpgsign = true; + gpg.format = "ssh"; + user.signingkey = "~/.ssh/fcuny_id_ed25519.pub"; + gpg.ssh.allowedSignersFile = "${config.xdg.dataHome}/git/allowed_signers"; }; userName = "Franck Cuny"; userEmail = "franck@fcuny.net"; |