chore(lib/treewide): cleanup directory struture of lib. See lib/readme.md for details
This commit is contained in:
@@ -79,7 +79,7 @@ in
|
||||
};
|
||||
|
||||
inventory = lib.mkOption {
|
||||
type = types.submodule { imports = [ ../inventory/build-inventory/interface.nix ]; };
|
||||
type = types.submodule { imports = [ self.clanLib.inventory.interface ]; };
|
||||
description = ''
|
||||
The `Inventory` submodule.
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user