Commit 1ab18569ba26

Vincent Demeester <vincent@sbr.pm>
2025-01-14 12:17:51
users/vincent: will try lieer for gmail.
Not right now as bandwith doesn't allow, but soon-ish :) Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent f477219
Changed files (1)
users
users/vincent/default.nix
@@ -147,21 +147,22 @@ in
                 passwordCommand = "${pkgs.passage}/bin/passage show mails/gmail/vinc.demeester";
                 imap.host = "imap.gmail.com";
                 smtp.host = "smtp.gmail.com";
-                mbsync = {
-                  enable = true;
-                  create = "both";
-                  expunge = "both";
-                  patterns = [ "*" "![Gmail]*" "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail" ];
-                  extraConfig = {
-                    channel = {
-                      Sync = "All";
-                    };
-                    account = {
-                      Timeout = 120;
-                      PipelineDepth = 1;
-                    };
-                  };
-                };
+                # mbsync = {
+                #   enable = true;
+                #   create = "both";
+                #   expunge = "both";
+                #   patterns = [ "*" "![Gmail]*" "[Gmail]/All Mail" "[Gmail]Sent Mail" "[Gmail]Starred" "[Gmail]Trash" ];
+                #   extraConfig = {
+                #     channel = {
+                #       Sync = "All";
+                #     };
+                #     account = {
+                #       Timeout = 120;
+                #       PipelineDepth = 1;
+                #     };
+                #   };
+                # };
+                lieer.enable = true;
                 mu.enable = true;
                 msmtp.enable = true;
               };
@@ -172,21 +173,22 @@ in
                 passwordCommand = "${pkgs.passage}/bin/passage show mails/gmail/redhat";
                 imap.host = "imap.gmail.com";
                 smtp.host = "smtp.gmail.com";
-                mbsync = {
-                  enable = true;
-                  create = "both";
-                  expunge = "both";
-                  patterns = [ "*" "![Gmail]*" "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail" ];
-                  extraConfig = {
-                    channel = {
-                      Sync = "All";
-                    };
-                    account = {
-                      Timeout = 120;
-                      PipelineDepth = 1;
-                    };
-                  };
-                };
+                # mbsync = {
+                #   enable = true;
+                #   create = "both";
+                #   expunge = "both";
+                #   patterns = [ "*" "![Gmail]*" "[Gmail]/All Mail" "[Gmail]Sent Mail" "[Gmail]Starred" "[Gmail]Trash" ];
+                #   extraConfig = {
+                #     channel = {
+                #       Sync = "All";
+                #     };
+                #     account = {
+                #       Timeout = 120;
+                #       PipelineDepth = 1;
+                #     };
+                #   };
+                # };
+                lieer.enable = true;
                 mu.enable = true;
                 msmtp.enable = true;
               };