depot/third_party/nixpkgs/nixos/modules/misc/lib.nix

16 lines
262 B
Nix
Raw Normal View History

{ 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.
'';
};
};
}