lib/options: add mkBoolOpt' with description

This commit is contained in:
Infinidoge 2024-12-03 13:54:11 -05:00
parent d3d492aa34
commit 60707813d7
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -14,4 +14,10 @@ in
type = types.bool;
example = true;
};
mkBoolOpt' = default: description: mkOption {
inherit default description;
type = types.bool;
example = true;
};
}