11 lines
269 B
Nix
11 lines
269 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) mkEnableOption;
|
|
in
|
|
{
|
|
# Create an option which is enabled by default, in contrast to
|
|
# `mkEnableOption` ones which are disabled by default.
|
|
mkDisableOption =
|
|
description: (mkEnableOption description) // { default = true; };
|
|
}
|