about summary refs log tree commit diff
path: root/home/profiles/messaging
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-15 21:53:21 +0900
committersefidel <contact@sefidel.net>2022-02-15 21:53:21 +0900
commit66c6442bee6a22dbe95b7fc767166dbffae0408c (patch)
tree5104fdc5a681e7c22b94c9d60d42bf32ae931ce3 /home/profiles/messaging
parent8203f7c6c69696ccf38b237607c53fab4b6f588e (diff)
downloadnixrc-66c6442bee6a22dbe95b7fc767166dbffae0408c.tar.gz
nixrc-66c6442bee6a22dbe95b7fc767166dbffae0408c.zip
feat(home/messaging): enable tls explicitly
Diffstat (limited to 'home/profiles/messaging')
-rw-r--r--home/profiles/messaging/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/home/profiles/messaging/default.nix b/home/profiles/messaging/default.nix
index b0ccf67..99f71b2 100644
--- a/home/profiles/messaging/default.nix
+++ b/home/profiles/messaging/default.nix
@@ -35,11 +35,18 @@ in
         };
 
         imap.host = "imap.migadu.com";
+        imap.tls.enable = true;
         smtp.host = "smtp.migadu.com";
+        smtp.tls.enable = true;
 
         mbsync = {
           enable = true;
           create = "maildir";
+          remove = "none";
+          expunge = "both";
+
+          extraConfig.account.SSLType = "IMAPS";
+          extraConfig.account.SSLVersions = "TLSv1.2";
         };
 
         msmtp.enable = true;