fix(inventory/instances): fix jsonschema compatibility
This commit is contained in:
@@ -204,8 +204,9 @@ in
|
||||
elemType = submoduleWith {
|
||||
modules = [
|
||||
(m: {
|
||||
# TODO: make this a deferred module?
|
||||
# TODO: Move the deferred module type into inventory interface ?
|
||||
options.settings = mkOption {
|
||||
type = types.deferredModule;
|
||||
description = "Settings of '${name}-machine': ${m.name}.";
|
||||
default = { };
|
||||
};
|
||||
@@ -220,6 +221,7 @@ in
|
||||
# options._settingsViaTags = mkOption { };
|
||||
# A deferred module that combines _settingsViaTags with _settings
|
||||
options.settings = mkOption {
|
||||
type = types.deferredModule;
|
||||
description = "Settings of 'role': ${name}";
|
||||
default = { };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user