nixpkgs/lib/tests/modules/declare-enable.nix
2015-02-09 00:07:44 +01:00

14 lines
210 B
Nix

{ lib, ... }:
{
options = {
enable = lib.mkOption {
default = false;
example = true;
type = lib.types.bool;
description = ''
Some descriptive text
'';
};
};
}