diff --git a/nixos/modules/services/taskwarrior-autotag.nix b/nixos/modules/services/taskwarrior-autotag.nix index 40c1d92..87cea1b 100644 --- a/nixos/modules/services/taskwarrior-autotag.nix +++ b/nixos/modules/services/taskwarrior-autotag.nix @@ -78,7 +78,7 @@ in "$@" ''; set_tag_query = "status:pending '${cfg.query}'"; - unset_tag_query = "'! ${cfg.query} and +${cfg.tag_name}'"; + unset_tag_query = "'! ${cfg.query}'"; yes = "${pkgs.coreutils}/bin/yes"; in ''