From b607fa5e608863574db1001ec94c02d17cc62f17 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 6 Jun 2018 21:16:03 +0200 Subject: fix(mail): Let timer unit be wanted by timers.target --- mail.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail.nix') 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"; -- cgit 1.4.1