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 000000000000..18fc68a69883 --- /dev/null +++ b/nixos/modules/misc/lib.nix @@ -0,0 +1,15 @@ +{ config, pkgs, ... }: + +{ + options = { + lib = pkgs.lib.mkOption { + default = {}; + + type = pkgs.lib.types.attrsOf pkgs.lib.types.attrs; + + description = '' + This option allows modules to define helper functions, constants, etc. + ''; + }; + }; +} |