fix(mail): Let timer unit be wanted by timers.target
This commit is contained in:
parent
858895aad3
commit
b607fa5e60
1 changed files with 1 additions and 1 deletions
2
mail.nix
2
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";
|
||||
|
|
Loading…
Reference in a new issue