summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tv/2configs/urlwatch.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/tv/2configs/urlwatch.nix b/tv/2configs/urlwatch.nix
index 40dc7d23..4fb11106 100644
--- a/tv/2configs/urlwatch.nix
+++ b/tv/2configs/urlwatch.nix
@@ -1,8 +1,11 @@
with import <stockholm/lib>;
{ config, pkgs, ... }: let
- json = url: {
+ json = json' ["."];
+ json' = args: url: {
inherit url;
- filter = "system:${pkgs.jq}/bin/jq .";
+ filter = "system:${pkgs.jq}/bin/jq ${
+ concatMapStringsSep " " shell.escape (toList args)
+ }";
};
in {
krebs.urlwatch = {