Revert "buildClan: Add automatic inventory import directory"

This reverts commit a64c054168.

This introduces the name "inventory module" whereas we already use the
term clan modules everywhere else. I don't don't too many confusing
termologies in the codebase. Let's discuss this before adding it back.
This commit is contained in:
Jörg Thalheim
2025-01-17 15:43:28 +01:00
parent 58e3dc9df2
commit 6119aa884f
3 changed files with 1 additions and 77 deletions

View File

@@ -167,7 +167,6 @@ let
(builtins.fromJSON (builtins.readFile inventoryFile))
else
{ };
in
{
imports = [
@@ -190,9 +189,7 @@ in
inventory.machines = lib.mapAttrs (_n: _: { }) config.machines;
}
# Merge the meta attributes from the buildClan function
{
inventory.modules = clan-core.clanModules;
}
{ inventory.modules = clan-core.clanModules; }
# config.inventory.meta <- config.meta
{ inventory.meta = config.meta; }
# Set default for computed tags