From c04240b646e735618b3ccd266656a60f623f2dd4 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Mon, 4 Dec 2023 12:03:29 +0100 Subject: [PATCH] Enable gpg git signing --- modules/shell/git.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/shell/git.nix b/modules/shell/git.nix index a9eca1f..e56e358 100644 --- a/modules/shell/git.nix +++ b/modules/shell/git.nix @@ -18,10 +18,11 @@ extraConfig = { # Sign all commits using ssh key - commit.gpgsign = false; - gpg.format = "ssh"; - gpg.ssh.allowedSignersFile = "~/.ssh/allowed_signers"; - user.signingkey = "~/.ssh/git.pub"; + commit.gpgsign = true; + user.signingkey = "0x2C2C1C62A5388E82"; + # gpg.format = "ssh"; + # gpg.ssh.allowedSignersFile = "~/.ssh/allowed_signers"; + # user.signingkey = "~/.ssh/git.pub"; init.defaultBranch = "main"; }; };