From 2728393ce6bb3e5f24805ddaf9dd7ce47b49c208 Mon Sep 17 00:00:00 2001 From: sefidel Date: Thu, 20 Jul 2023 02:13:37 +0900 Subject: fix(profiles/communication): fix neomutt Encrypt-to-Self --- home/profiles/communication/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'home/profiles') diff --git a/home/profiles/communication/default.nix b/home/profiles/communication/default.nix index 4c46b83..59fdc1f 100644 --- a/home/profiles/communication/default.nix +++ b/home/profiles/communication/default.nix @@ -34,10 +34,10 @@ in accounts.sefidel-net = { address = poorObfuscation "sefidel.net" "contact"; - # gpg = { - # key = ""; - # signByDefault = true; - # }; + gpg = { + key = "8BDFDFB56842239382A0441B9238BC709E05516A"; + signByDefault = true; + }; imap.host = "mail.exotic.sh"; imap.tls.enable = true; @@ -217,6 +217,10 @@ in # edit headers in editor autoedit = "yes"; edit_headers = "yes"; + + # fix Encrypt-to-Self, required by `pgp_self_encrypt` + # TODO: use key from primary account (don't hardcode) + pgp_default_key = config.accounts.email.accounts.sefidel-net.gpg.key; }; binds = mapKeys [ -- cgit 1.4.1