From a16754ff06b7db478a9252bb6159652818cdad0d Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sun, 2 Aug 2026 02:50:10 +0530 Subject: feat: added example to use pgp signing of emails, fixed browserpass - Added example on how to enable pgp signing on gmail email accounts - The programs.browserpass.enable option only used extension ids for the actual extensions not for the custom extension key we gave it. So we are updaing the com.github.browserpass.native.json file to manually add our own extension id to it --- modules/private/email.example.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/private') diff --git a/modules/private/email.example.nix b/modules/private/email.example.nix index c525b71..16d8402 100644 --- a/modules/private/email.example.nix +++ b/modules/private/email.example.nix @@ -8,6 +8,14 @@ passwordGopassSecret = "mail/user@gmail.com"; flavor = "gmail.com"; primary = true; + neomutt.extraConfig = '' + set pgp_default_key = YOUR_GPG_KEY_FINGERPRINT + ''; + gpg = { + key = "YOUR_GPG_KEY_ID"; + signByDefault = true; + encryptByDefault = false; # set true only if you also want auto-encrypt + }; }; }; } -- cgit v1.2.3