neomutt: Add encryptByDefault support (#1882)

Adds support for encryptByDefault to the neomutt module using the
crypt_opportunistic_encrypt option.
This commit is contained in:
Sumner Evans 2021-04-07 13:45:50 -06:00 committed by GitHub
parent c12897e8e1
commit be56b6f2c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 69 additions and 0 deletions

View file

@ -189,6 +189,7 @@ let
# GPG section
set crypt_use_gpgme = yes
set crypt_autosign = ${yesno (gpg.signByDefault or false)}
set crypt_opportunistic_encrypt = ${yesno (gpg.encryptByDefault or false)}
set pgp_use_gpg_agent = yes
set mbox_type = ${if maildir != null then "Maildir" else "mbox"}
set sort = "${cfg.sort}"