Hi everyone !
I try to versioned my Nixos configuration but when I want do sign my commit with a sudo git command, I’ve this error :
error: gpg could not sign the data fatal: failure to write the commit object
I added gitconfig in /etc/gitconfig with my key for sign, and my public and private key is in admin and my gpg keyring.
What did I forgot ?