Adjust mbsync timing, emacs mu4e check now pulls inboxes
This commit is contained in:
parent
8e9d6e2414
commit
c10cee9c76
|
@ -17,7 +17,7 @@
|
||||||
services = {
|
services = {
|
||||||
mbsync = {
|
mbsync = {
|
||||||
enable = true;
|
enable = true;
|
||||||
frequency = "*:0/15";
|
frequency = "*:0/30";
|
||||||
};
|
};
|
||||||
imapnotify.enable = true;
|
imapnotify.enable = true;
|
||||||
};
|
};
|
||||||
|
@ -49,9 +49,7 @@
|
||||||
imapnotify = {
|
imapnotify = {
|
||||||
enable = lib.mkDefault accountEnabled;
|
enable = lib.mkDefault accountEnabled;
|
||||||
boxes = [ "INBOX" ];
|
boxes = [ "INBOX" ];
|
||||||
onNotify = "${pkgs.isync}/bin/mbsync proton:INBOX";
|
onNotify = "${pkgs.isync}/bin/mbsync proton";
|
||||||
onNotifyPost =
|
|
||||||
"${pkgs.libnotify}/bin/notify-send 'Proton: Inbox updated'";
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
wait = 300;
|
wait = 300;
|
||||||
tls = false;
|
tls = false;
|
||||||
|
@ -90,9 +88,7 @@
|
||||||
imapnotify = {
|
imapnotify = {
|
||||||
enable = lib.mkDefault accountEnabled;
|
enable = lib.mkDefault accountEnabled;
|
||||||
boxes = [ "INBOX" ];
|
boxes = [ "INBOX" ];
|
||||||
onNotify = "${pkgs.isync}/bin/mbsync icloud:INBOX";
|
onNotify = "${pkgs.isync}/bin/mbsync icloud";
|
||||||
onNotifyPost =
|
|
||||||
"${pkgs.libnotify}/bin/notify-send 'iCloud: Inbox updated'";
|
|
||||||
extraConfig.wait = 300;
|
extraConfig.wait = 300;
|
||||||
};
|
};
|
||||||
mbsync = {
|
mbsync = {
|
||||||
|
@ -130,9 +126,7 @@
|
||||||
imapnotify = {
|
imapnotify = {
|
||||||
enable = lib.mkDefault accountEnabled;
|
enable = lib.mkDefault accountEnabled;
|
||||||
boxes = [ "INBOX" ];
|
boxes = [ "INBOX" ];
|
||||||
onNotify = "${pkgs.isync}/bin/mbsync outlook:INBOX";
|
onNotify = "${pkgs.isync}/bin/mbsync outlook";
|
||||||
onNotifyPost =
|
|
||||||
"${pkgs.libnotify}/bin/notify-send 'Outlook: Inbox updated'";
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
wait = 300;
|
wait = 300;
|
||||||
tls = false;
|
tls = false;
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
|
|
||||||
;; mail settings
|
;; mail settings
|
||||||
(after! mu4e
|
(after! mu4e
|
||||||
(setq mu4e-get-mail-command "true"
|
(setq mu4e-get-mail-command "mbsync --pull-new inboxes"
|
||||||
mu4e-update-interval 300
|
mu4e-update-interval 300
|
||||||
mu4e-sent-messages-behavior 'sent
|
mu4e-sent-messages-behavior 'sent
|
||||||
mu4e-attachment-dir "~/Downloads"
|
mu4e-attachment-dir "~/Downloads"
|
||||||
|
|
Loading…
Reference in a new issue