modules: move input-mapping into inventoryClass submodule

This commit is contained in:
Johannes Kirschbauer
2025-10-22 18:31:12 +02:00
parent a25d983c87
commit 410d0d0532
2 changed files with 75 additions and 6 deletions

View File

@@ -229,11 +229,8 @@ in
};
imports = [
../inventoryClass/default.nix
(lib.modules.importApply ../inventoryClass/service-list-from-inputs.nix {
inherit flakeInputs clanLib;
})
{
inherit inventory directory;
inherit inventory directory flakeInputs;
}
(
let
@@ -252,7 +249,6 @@ in
machines = config.distributedServices.allMachines;
}
)
../inventoryClass/inventory-introspection.nix
];
};