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:
Skyler Grey 2025-06-05 18:54:10 +00:00
parent 1405f5515f
commit 7b91763656

View file

@ -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";