diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-06-06T19·16+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-06-06T19·16+0200 |
commit | b607fa5e608863574db1001ec94c02d17cc62f17 (patch) | |
tree | 87eb61d626eee9091d71ac8b5a6a546c1b6c3e39 /mail.nix | |
parent | 858895aad36513c7c8b95673d10e0b7cbcb191d9 (diff) |
fix(mail): Let timer unit be wanted by timers.target
Diffstat (limited to '')
-rw-r--r-- | mail.nix | 2 |
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"; |