add lib option
This commit is contained in:
parent
9488cad84f
commit
8b7f9c32c3
2 changed files with 19 additions and 3 deletions
|
|
@ -23,12 +23,13 @@ let
|
|||
};
|
||||
}
|
||||
./assertions.nix
|
||||
./internal.nix
|
||||
./kubernetes.nix
|
||||
./helm.nix
|
||||
./kluctl.nix
|
||||
./validation.nix
|
||||
./importyaml.nix
|
||||
./internal.nix
|
||||
./kluctl.nix
|
||||
./kubernetes.nix
|
||||
./lib.nix
|
||||
./validation.nix
|
||||
]
|
||||
++ modules;
|
||||
};
|
||||
|
|
|
|||
15
lib.nix
Normal file
15
lib.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
options = {
|
||||
lib = lib.mkOption {
|
||||
default = { };
|
||||
|
||||
type = lib.types.attrsOf lib.types.attrs;
|
||||
|
||||
description = ''
|
||||
This option allows modules to define helper functions, constants, etc.
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue