feat(inventory/instances): only warn if instances is populated

This commit is contained in:
Johannes Kirschbauer
2025-03-30 16:43:02 +02:00
parent f2e89d27fe
commit fe5796ba17

View File

@@ -343,7 +343,12 @@ in
} }
); );
default = { }; default = { };
apply = lib.warn "Inventory.instances and related features are still under development. Please use with care."; apply =
v:
if v == { } then
v
else
lib.warn "Inventory.instances and related features are still under development. Please use with care." v;
}; };
services = lib.mkOption { services = lib.mkOption {
description = '' description = ''