chore(lib/treewide): cleanup directory struture of lib. See lib/readme.md for details

This commit is contained in:
Johannes Kirschbauer
2025-04-02 10:32:58 +02:00
parent e5d8245751
commit 6e16d1345e
21 changed files with 92 additions and 94 deletions

View File

@@ -201,9 +201,9 @@ in
clanInternals = {
moduleSchemas = clan-core.lib.modules.getModulesSchema config.inventory.modules;
inherit inventoryClass;
distributedServices = import ../distributed-service/inventory-adapter.nix {
inherit lib inventory;
flake = config.self;
distributedServices = clan-core.clanLib.inventory.mapInstances {
inherit inventory;
flakeInputs = config.self.inputs;
};
# TODO: unify this interface
# We should have only clan.modules. (consistent with clan.templates)