build-inventory: replace by equivalent submodule

This commit is contained in:
Johannes Kirschbauer
2025-06-25 17:23:46 +02:00
parent af27f43491
commit 68ed393c87
4 changed files with 38 additions and 16 deletions

View File

@@ -207,7 +207,11 @@ in
clanModules = lib.mkOption { type = lib.types.raw; };
# The machine 'imports' generated by the inventory per machine
inventoryClass = lib.mkOption { type = lib.types.raw; };
inventoryClass = lib.mkOption {
type = types.submoduleWith {
modules = [ ];
};
};
# TODO: remove all dependents in python, delete this option
inventory = lib.mkOption {