aboutsummaryrefslogtreecommitdiffstats
path: root/modules/private/email.example.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/private/email.example.nix')
-rw-r--r--modules/private/email.example.nix8
1 files changed, 8 insertions, 0 deletions
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
+ };
};
};
}