about summary refs log tree commit diff
path: root/nixpkgs/nixos/modules/misc/lib.nix
blob: f97e9209e2f1eaef672a41135996585ccf864281 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ lib, ... }:

{
  options = {
    lib = lib.mkOption {
      default = {};

      type = lib.types.attrsOf lib.types.attrs;

      description = lib.mdDoc ''
        This option allows modules to define helper functions, constants, etc.
      '';
    };
  };
}