diff --git a/nixos/modules/services/taskwarrior-pushover.nix b/nixos/modules/services/taskwarrior-pushover.nix index 365e842..09e7fc9 100644 --- a/nixos/modules/services/taskwarrior-pushover.nix +++ b/nixos/modules/services/taskwarrior-pushover.nix @@ -93,6 +93,11 @@ in | ${pkgs.curl}/bin/curl -sS -X POST -H 'Content-Type: application/json' -d @- \ "https://api.pushover.net/1/messages.json" done + + if [[ ${cfg.recurrence} -eq on ]] + then + ${taskwarriorCommand} sync + fi ''; }; systemd.timers.taskwarrior-pushover = {