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