diff options
author | tv <tv@krebsco.de> | 2019-08-13 09:41:55 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-08-13 09:41:55 +0200 |
commit | 13d7c14bd06bf22558ca13e0c213cc231c98abdb (patch) | |
tree | d492286598400a1912a3731588e36d52748723b2 /krebs/3modules | |
parent | 681075a8f41ecfbac4c113481adde4d61f497c36 (diff) |
urlwatch: filter defaults to null
Diffstat (limited to 'krebs/3modules')
-rw-r--r-- | krebs/3modules/urlwatch.nix | 6 |
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 }; }; |