feat(clan/services): init adapter function to convert inventory instances into clan.service module configurations

This commit is contained in:
Johannes Kirschbauer
2025-03-26 17:15:59 +01:00
parent bec4317709
commit b83d3ecba2
2 changed files with 193 additions and 1 deletions

View File

@@ -199,7 +199,10 @@ in
clanInternals = {
moduleSchemas = clan-core.lib.modules.getModulesSchema config.inventory.modules;
inherit inventoryClass;
distributedServices = {};
distributedServices = import ../distributed-service/inventory-adapter.nix {
inherit lib inventory;
flake = config.self;
};
inherit (clan-core) clanModules;
inherit inventoryFile;
inventoryValuesPrios =