inventory/interface: reduce apply arguments chain by adding it to _module.args
This commit is contained in:
@@ -7,11 +7,9 @@ in
|
||||
inherit (import ./build-inventory { inherit lib clanLib; }) buildInventory;
|
||||
interface = {
|
||||
imports = [
|
||||
(import ./build-inventory/interface.nix { inherit clanLib; })
|
||||
./build-inventory/interface.nix
|
||||
];
|
||||
_module.args = {
|
||||
inherit clanLib;
|
||||
};
|
||||
_module.args = { inherit clanLib; };
|
||||
};
|
||||
# Returns the list of machine names
|
||||
# { ... } -> [ string ]
|
||||
|
||||
Reference in New Issue
Block a user