about summary refs log tree commit diff
path: root/mail.nix
diff options
context:
space:
mode:
Diffstat (limited to 'mail.nix')
-rw-r--r--mail.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail.nix b/mail.nix
index 8e45f5af7c03..4a83ee548281 100644
--- a/mail.nix
+++ b/mail.nix
@@ -44,6 +44,7 @@ in {
   # Enable OfflineIMAP timer & service:
   systemd.user.timers.offlineimap = {
     description = "OfflineIMAP timer";
+    wantedBy    = [ "timers.target" ];
 
     timerConfig = {
       Unit       = "offlineimap.service";
@@ -55,7 +56,6 @@ in {
   systemd.user.services.offlineimap = {
     description = "OfflineIMAP service";
     path = with pkgs; [ pass notmuch ];
-    wantedBy    = [ "default.target" ];
 
     serviceConfig = {
       Type            = "oneshot";