feat: set default priorities in new types
If we don't specify an option, we can set the priority to be default. This will allow merged types to override it without manually specifying it.
This commit is contained in:
parent
1405f5515f
commit
7b91763656
1 changed files with 4 additions and 4 deletions
|
|
@ -207,13 +207,13 @@ lib: {
|
|||
create =
|
||||
settings@{
|
||||
type ? lib.types.unspecified,
|
||||
apply ? null,
|
||||
default ? { },
|
||||
example ? null,
|
||||
apply ? lib.modules.overrides.default null,
|
||||
default ? lib.modules.overrides.default { },
|
||||
example ? lib.modules.overrides.default null,
|
||||
visible ? null,
|
||||
internal ? null,
|
||||
writable ? null,
|
||||
description ? null,
|
||||
description ? lib.modules.overrides.default null,
|
||||
}:
|
||||
{
|
||||
__type__ = "option";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue