Inventory: init external modules support

This commit is contained in:
Johannes Kirschbauer
2024-11-21 11:45:31 +01:00
committed by hsjobeki
parent f936b21100
commit b3bcecd61c
7 changed files with 37 additions and 27 deletions

View File

@@ -159,7 +159,7 @@ in
inventory.machines = lib.mapAttrs (_n: _: { }) config.machines;
}
# Merge the meta attributes from the buildClan function
#
{ inventory.modules = clan-core.clanModules; }
# config.inventory.meta <- config.meta
{ inventory.meta = config.meta; }
# Set default for computed tags
@@ -169,6 +169,7 @@ in
inherit nixosConfigurations;
clanInternals = {
inherit serviceConfigs;
inherit (clan-core) clanModules;
inherit inventoryFile;
inventory = config.inventory;