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 d9741be51a
commit 208cd12328

View File

@@ -343,7 +343,12 @@ in
}
);
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 {
description = ''