home-manager/modules/misc/lib.nix
Robert Helgesson f34e5f1c6c
lib: copy module from NixOS
Importing the module directly from NixOS causes the documentation to
break, in particular the "Declared by" section.

Fixes #405

(cherry picked from commit 9b3122e92c)
2018-10-05 17:39:10 +02:00

15 lines
258 B
Nix

{ lib, ... }:
{
options = {
lib = lib.mkOption {
type = lib.types.attrsOf lib.types.attrs;
default = {};
description = ''
This option allows modules to define helper functions,
constants, etc.
'';
};
};
}