feat(inventory/instances): preserve settings modifiers close at source

This commit is contained in:
Johannes Kirschbauer
2025-03-29 15:39:02 +01:00
parent a746b10578
commit fa6c3be21e
2 changed files with 5 additions and 6 deletions

View File

@@ -204,9 +204,8 @@ in
elemType = submoduleWith {
modules = [
(m: {
# TODO: Move the deferred module type into inventory interface ?
options.settings = mkOption {
type = types.deferredModule;
type = types.raw;
description = "Settings of '${name}-machine': ${m.name}.";
default = { };
};
@@ -221,7 +220,7 @@ in
# options._settingsViaTags = mkOption { };
# A deferred module that combines _settingsViaTags with _settings
options.settings = mkOption {
type = types.deferredModule;
type = types.raw;
description = "Settings of 'role': ${name}";
default = { };
};