mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-13 00:20:07 +01:00
feat: refactor file structure module interfaces and other
This commit is contained in:
parent
12a1c920c4
commit
eac2d78667
36 changed files with 58 additions and 139 deletions
|
|
@ -10,6 +10,8 @@ let
|
|||
inherit kubenix;
|
||||
};
|
||||
|
||||
# evalModules with same interface as lib.evalModules and kubenix as
|
||||
# special argument
|
||||
evalModules = {
|
||||
module ? null,
|
||||
modules ? [module],
|
||||
|
|
@ -27,8 +29,9 @@ let
|
|||
modules = import ./modules;
|
||||
|
||||
kubenix = {
|
||||
inherit evalModules kubenix;
|
||||
inherit evalModules modules;
|
||||
|
||||
lib = kubenixLib;
|
||||
} // modules;
|
||||
module = modules.module;
|
||||
};
|
||||
in kubenix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue