mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
feat(submodules): pass submodule instance as arg to submodule
This commit is contained in:
parent
fc3ba14b5c
commit
e3b788c5dc
1 changed files with 1 additions and 0 deletions
|
|
@ -231,6 +231,7 @@ in {
|
||||||
type = submoduleWithSpecialArgs ({...}: {
|
type = submoduleWithSpecialArgs ({...}: {
|
||||||
imports = submodule.modules ++ defaults ++ [submoduleOptions];
|
imports = submodule.modules ++ defaults ++ [submoduleOptions];
|
||||||
_module.args.name = config.name;
|
_module.args.name = config.name;
|
||||||
|
_module.args.submodule = config;
|
||||||
}) specialArgs;
|
}) specialArgs;
|
||||||
default = {};
|
default = {};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue