about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/profiles/communication/default.nix12
1 files changed, 8 insertions, 4 deletions
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 [