summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-04-19 16:57:56 +0200
committerlassulus <lass@aidsballs.de>2016-04-19 16:57:56 +0200
commit90f8f75a2c751efc57679d3c79d77c016062a7d7 (patch)
tree1fb1c81f2ebbc8ce89c667c788d3698b73e097d7
parent2f99d1f4b7bbc2b6d5f45467d897a65d84f61428 (diff)
l 2 mail: add gpg stuff
-rw-r--r--lass/2configs/mail.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/lass/2configs/mail.nix b/lass/2configs/mail.nix
index e29b6d9b2..3c7dfcaf6 100644
--- a/lass/2configs/mail.nix
+++ b/lass/2configs/mail.nix
@@ -15,6 +15,13 @@ let
'';
muttrc = pkgs.writeText "muttrc" ''
+ # gpg
+ source ${pkgs.mutt-kz}/share/doc/mutt-kz/samples/gpg.rc
+ set pgp_use_gpg_agent = yes
+ set pgp_sign_as = 0x976A7E4D
+ set crypt_autosign = yes
+ set crypt_replyencrypt = yes
+
# notmuch
set nm_default_uri="notmuch://$HOME/Maildir" # path to the maildir
set nm_record = yes