fix(inventory/instances): fix jsonschema compatibility

This commit is contained in:
Johannes Kirschbauer
2025-03-27 19:35:59 +01:00
parent 8a0e4b4ac4
commit ca1777fddc
4 changed files with 14 additions and 24 deletions

View File

@@ -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 = { };
};