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"; }; };