mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-10-09 02:50:04 +00:00
18 lines
332 B
Nix
18 lines
332 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
# Create a NixOS module option on a single line.
|
|
mkOpt =
|
|
type: default: description:
|
|
lib.mkOption { inherit type default description; };
|
|
|
|
# Create a simple bool options
|
|
mkBool =
|
|
default: description:
|
|
lib.mkOption {
|
|
inherit default description;
|
|
type = lib.types.bool;
|
|
};
|
|
}
|