summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-08-13 09:41:55 +0200
committertv <tv@krebsco.de>2019-08-13 09:41:55 +0200
commit13d7c14bd06bf22558ca13e0c213cc231c98abdb (patch)
treed492286598400a1912a3731588e36d52748723b2 /krebs
parent681075a8f41ecfbac4c113481adde4d61f497c36 (diff)
urlwatch: filter defaults to null
Diffstat (limited to 'krebs')
-rw-r--r--krebs/3modules/urlwatch.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/krebs/3modules/urlwatch.nix b/krebs/3modules/urlwatch.nix
index 61ee72e74..f82e68376 100644
--- a/krebs/3modules/urlwatch.nix
+++ b/krebs/3modules/urlwatch.nix
@@ -75,10 +75,7 @@ let
];
apply = map (x: getAttr (typeOf x) {
set = x;
- string = {
- url = x;
- filter = null;
- };
+ string.url = x;
});
};
verbose = mkOption {
@@ -210,6 +207,7 @@ let
type = types.str;
};
filter = mkOption {
+ default = null;
type = with types; nullOr str; # TODO nullOr subtypes.filter
};
};