inventory/interface: reduce apply arguments chain by adding it to _module.args

This commit is contained in:
Johannes Kirschbauer
2025-06-25 13:39:41 +02:00
parent ac7c51d2b3
commit 0bb621f0f7
7 changed files with 35 additions and 22 deletions

View File

@@ -100,7 +100,8 @@ in
inventory = lib.mkOption {
type = types.submodule {
imports = [
(lib.modules.importApply ../../inventory/build-inventory/interface.nix { inherit clanLib; })
{ _module.args = { inherit clanLib; }; }
../../inventory/build-inventory/interface.nix
];
};
description = ''