summary refs log tree commit diff
path: root/nixos/modules/misc/lib.nix
blob: 121f396701eae5395ad0bdf01778b7ddc07d7f3d (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 = ''
        This option allows modules to define helper functions, constants, etc.
      '';
    };
  };
}