Refactor(inventory/modules): add support for local clan.modules and migrate all checks

This commit is contained in:
Johannes Kirschbauer
2025-05-08 17:17:46 +02:00
parent 5b4a0a0311
commit b71e5378d6
7 changed files with 41 additions and 35 deletions

View File

@@ -45,7 +45,8 @@ let
inherit inventory directory;
flakeInputs = config.self.inputs;
prefix = config._prefix ++ [ "inventoryClass" ];
localModuleSet = config.modules;
# TODO: remove inventory.modules, this is here for backwards compatibility
localModuleSet = inventory.modules // config.modules;
}
);