about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-07-02 17:53:10 -0700
committerFranck Cuny <franck@fcuny.net>2022-07-07 17:38:29 -0700
commit9807b0df9914cdc5ccd26988877a084aed24f1d8 (patch)
treed2ef2b61ecef4ed4d4cf206174c775334cad6316
parentfeat(home/mail): run afew before mbsync (diff)
downloadworld-9807b0df9914cdc5ccd26988877a084aed24f1d8.tar.gz
feat(home/mail): enable smtp to send emails
Change-Id: Ia651a1821c44ec45a2dae033e44c91c9eab8459e
Reviewed-on: https://cl.fcuny.net/c/world/+/607
Tested-by: CI
Reviewed-by: Franck Cuny <franck@fcuny.net>
-rw-r--r--home/mail/accounts/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/home/mail/accounts/default.nix b/home/mail/accounts/default.nix
index c827850..1b7cd68 100644
--- a/home/mail/accounts/default.nix
+++ b/home/mail/accounts/default.nix
@@ -13,18 +13,21 @@ in
           aliases = [ "franck.cuny@gmail.com" ];
           passwordCommand = "pass email/imap.fastmail.com";
           imap.host = "imap.fastmail.com";
+          smtp.host = "smtp.fastmail.com";
           mbsync = {
             enable = true;
             create = "maildir";
             expunge = "both";
             extraConfig.channel.CopyArrivalDate = "yes";
           };
+          msmtp.enable = true;
           notmuch.enable = true;
         };
       };
     };
 
     programs.mbsync.enable = true;
+    programs.msmtp.enable = true;
 
     programs.afew = {
       enable = true;