diff options
Diffstat (limited to 'nixos/modules/misc/lib.nix')
-rw-r--r-- | nixos/modules/misc/lib.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nixos/modules/misc/lib.nix b/nixos/modules/misc/lib.nix new file mode 100644 index 00000000000..121f396701e --- /dev/null +++ b/nixos/modules/misc/lib.nix @@ -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. + ''; + }; + }; +} |