mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
neomutt: fix crypt_use_gpgme in newer versions
Fixes config load error since newer versions of neomutt don't allow `crypt_use_gpgme` to be loaded dynamically (from folder hooks)
This commit is contained in:
parent
7b4ea8d82f
commit
f65dcd6c15
12 changed files with 5 additions and 8 deletions
|
@ -224,7 +224,6 @@ let
|
|||
set certificate_file=${toString config.accounts.email.certificatesFile}
|
||||
|
||||
# GPG section
|
||||
set crypt_use_gpgme = yes
|
||||
set crypt_autosign = ${lib.hm.booleans.yesNo (gpg.signByDefault or false)}
|
||||
set crypt_opportunistic_encrypt = ${
|
||||
lib.hm.booleans.yesNo (gpg.encryptByDefault or false)
|
||||
|
@ -351,6 +350,7 @@ in {
|
|||
set message_cachedir = "${config.xdg.cacheHome}/neomutt/messages/"
|
||||
set editor = "${cfg.editor}"
|
||||
set implicit_autoview = yes
|
||||
set crypt_use_gpgme = yes
|
||||
|
||||
alternative_order text/enriched text/plain text
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ set ssl_force_tls = yes
|
|||
set certificate_file=/etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
# GPG section
|
||||
set crypt_use_gpgme = yes
|
||||
set crypt_autosign = no
|
||||
set crypt_opportunistic_encrypt = no
|
||||
set pgp_use_gpg_agent = yes
|
||||
|
|
|
@ -3,7 +3,6 @@ set ssl_force_tls = yes
|
|||
set certificate_file=/etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
# GPG section
|
||||
set crypt_use_gpgme = yes
|
||||
set crypt_autosign = yes
|
||||
set crypt_opportunistic_encrypt = yes
|
||||
set pgp_use_gpg_agent = yes
|
||||
|
|
|
@ -3,7 +3,6 @@ set ssl_force_tls = yes
|
|||
set certificate_file=/etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
# GPG section
|
||||
set crypt_use_gpgme = yes
|
||||
set crypt_autosign = no
|
||||
set crypt_opportunistic_encrypt = no
|
||||
set pgp_use_gpg_agent = yes
|
||||
|
|
|
@ -3,7 +3,6 @@ set ssl_force_tls = yes
|
|||
set certificate_file=/etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
# GPG section
|
||||
set crypt_use_gpgme = yes
|
||||
set crypt_autosign = no
|
||||
set crypt_opportunistic_encrypt = no
|
||||
set pgp_use_gpg_agent = yes
|
||||
|
|
|
@ -3,7 +3,6 @@ set ssl_force_tls = yes
|
|||
set certificate_file=/etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
# GPG section
|
||||
set crypt_use_gpgme = yes
|
||||
set crypt_autosign = no
|
||||
set crypt_opportunistic_encrypt = no
|
||||
set pgp_use_gpg_agent = yes
|
||||
|
|
|
@ -3,7 +3,6 @@ set ssl_force_tls = yes
|
|||
set certificate_file=/etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
# GPG section
|
||||
set crypt_use_gpgme = yes
|
||||
set crypt_autosign = no
|
||||
set crypt_opportunistic_encrypt = no
|
||||
set pgp_use_gpg_agent = yes
|
||||
|
|
|
@ -3,7 +3,6 @@ set ssl_force_tls = yes
|
|||
set certificate_file=/etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
# GPG section
|
||||
set crypt_use_gpgme = yes
|
||||
set crypt_autosign = no
|
||||
set crypt_opportunistic_encrypt = no
|
||||
set pgp_use_gpg_agent = yes
|
||||
|
|
|
@ -3,6 +3,7 @@ set header_cache = "/home/hm-user/.cache/neomutt/headers/"
|
|||
set message_cachedir = "/home/hm-user/.cache/neomutt/messages/"
|
||||
set editor = "$EDITOR"
|
||||
set implicit_autoview = yes
|
||||
set crypt_use_gpgme = yes
|
||||
|
||||
alternative_order text/enriched text/plain text
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ set header_cache = "/home/hm-user/.cache/neomutt/headers/"
|
|||
set message_cachedir = "/home/hm-user/.cache/neomutt/messages/"
|
||||
set editor = "$EDITOR"
|
||||
set implicit_autoview = yes
|
||||
set crypt_use_gpgme = yes
|
||||
|
||||
alternative_order text/enriched text/plain text
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ set header_cache = "/home/hm-user/.cache/neomutt/headers/"
|
|||
set message_cachedir = "/home/hm-user/.cache/neomutt/messages/"
|
||||
set editor = "$EDITOR"
|
||||
set implicit_autoview = yes
|
||||
set crypt_use_gpgme = yes
|
||||
|
||||
alternative_order text/enriched text/plain text
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ set header_cache = "/home/hm-user/.cache/neomutt/headers/"
|
|||
set message_cachedir = "/home/hm-user/.cache/neomutt/messages/"
|
||||
set editor = "$EDITOR"
|
||||
set implicit_autoview = yes
|
||||
set crypt_use_gpgme = yes
|
||||
|
||||
alternative_order text/enriched text/plain text
|
||||
|
||||
|
|
Loading…
Reference in a new issue