about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--home/profiles/communication/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/home/profiles/communication/default.nix b/home/profiles/communication/default.nix
index 82664b3..3750013 100644
--- a/home/profiles/communication/default.nix
+++ b/home/profiles/communication/default.nix
@@ -44,9 +44,6 @@ in
             create = "maildir";
             remove = "none";
             expunge = "both";
-
-            extraConfig.account.SSLType = "IMAPS";
-            extraConfig.account.SSLVersions = "TLSv1.2";
           };
 
           msmtp.enable = true;
@@ -266,9 +263,14 @@ in
         };
         Service = {
           Type = "oneshot";
-          ExecStart = "${mbsyncCmd} --all";
+          ExecStart = "${mbsyncCmd} -Va";
           RemainAfterExit = true;
           TimeoutStartSec = "5min";
+          Environment = "PATH=${lib.makeBinPath [
+            # passage dependencies
+            pkgs.util-linux
+            pkgs.coreutils
+          ]}";
         };
         Install.WantedBy = [ "default.target" ];
       };