inventory/interface: reduce apply arguments chain by adding it to _module.args
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user