nixpkgs/lib/tests/modules/declare-enable.nix

15 lines
210 B
Nix
Raw Permalink Normal View History

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