Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

lib.options

lib.options.enabledOption

Attributes for an enabled boolean option.

Type

enabledOption :: a

Examples

mkEnableOption "foo" // enabledOption

Usage

{inputs, ...}: let
  inherit (inputs.nix-config.lib.options) enabledOption;
in # ...

Source

lib/options/lib.nix:18