Inventory: move to lib.inventory

This commit is contained in:
Johannes Kirschbauer
2024-06-24 21:28:45 +02:00
committed by hsjobeki
parent 6378a96b4d
commit 3aa7a6ee69
16 changed files with 11 additions and 11 deletions

View File

@@ -33,7 +33,7 @@ let
mergedInventory =
(lib.evalModules {
modules = [
./interface.nix
clan-core.lib.inventory.interface
{ inherit meta; }
(
if
@@ -77,7 +77,7 @@ let
];
}).config;
buildInventory = import ./inventory.nix { inherit lib clan-core; };
inherit (clan-core.lib.inventory) buildInventory;
# map from machine name to service configuration
# { ${machineName} :: Config }