summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/settings/mail.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/user/settings/mail.nix b/user/settings/mail.nix
index 3ce9e548..59fdc7d2 100644
--- a/user/settings/mail.nix
+++ b/user/settings/mail.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ config, lib, pkgs, ... }:
 
 {
   home.packages = [
@@ -19,6 +19,13 @@
     frequency = "*:6/15";
     postExec = "${config.programs.emacs.finalPackage}/bin/emacsclient -e (mu4e-update-index)";
   };
+  systemd.user.timers.mbsync = {
+    Timer = {
+      OnCalendar = lib.mkForce false;
+      OnBootSec = "5min";
+      OnUnitActiveSec = "15min";
+    };
+  };
   programs.msmtp = {
     enable = true;
   };