urlwatch: filter defaults to null
This commit is contained in:
parent
681075a8f4
commit
13d7c14bd0
|
@ -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
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user