fix(mail): Let timer unit be wanted by timers.target

This commit is contained in:
Vincent Ambo 2018-06-06 21:16:03 +02:00
parent 858895aad3
commit b607fa5e60

View file

@ -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";