summary refs log tree commit diff
path: root/modules/misc/lib.nix
blob: 18fc68a698836b0693229089a5de23f8b4e88e49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.
      '';
    };
  };
}