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) {
|
||||
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
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue