urlwatch: filter defaults to null

This commit is contained in:
tv 2019-08-13 09:41:55 +02:00
parent 681075a8f4
commit 13d7c14bd0

View File

@ -75,10 +75,7 @@ let
]; ];
apply = map (x: getAttr (typeOf x) { apply = map (x: getAttr (typeOf x) {
set = x; set = x;
string = { string.url = x;
url = x;
filter = null;
};
}); });
}; };
verbose = mkOption { verbose = mkOption {
@ -210,6 +207,7 @@ let
type = types.str; type = types.str;
}; };
filter = mkOption { filter = mkOption {
default = null;
type = with types; nullOr str; # TODO nullOr subtypes.filter type = with types; nullOr str; # TODO nullOr subtypes.filter
}; };
}; };