From b2b1f0bd7b1eea5e204fd1ca87fbe3b4c3fa260b Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Tue, 26 Oct 2021 07:06:52 +0200 Subject: [PATCH] taskserver-pushover fixing query --- nixos/modules/services/taskwarrior-pushover.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/taskwarrior-pushover.nix b/nixos/modules/services/taskwarrior-pushover.nix index 827cf5c..70338ea 100644 --- a/nixos/modules/services/taskwarrior-pushover.nix +++ b/nixos/modules/services/taskwarrior-pushover.nix @@ -21,7 +21,7 @@ in }; query = mkOption { type = str; - default = "+PENDING and ( +ACTIVE and +DUETODAY or +TODAY or +OVERDUE )"; + default = "+PENDING and ( +ACTIVE or +DUETODAY or +TODAY or +OVERDUE )"; }; dataDir = mkOption { type = str; @@ -66,7 +66,7 @@ in ''; in '' - if [ -d ${cfg.dataDir} ] + if [ -d /var/lib/${name}/${cfg.dataDir} ] then echo "syncronize ${cfg.dataDir}" ${taskwarriorCommand} sync