mirror of
https://github.com/materusPL/Nixerus.git
synced 2025-07-11 02:34:24 +02:00
17 lines
286 B
Nix
17 lines
286 B
Nix
{ pkgs }:
|
|
|
|
with pkgs; {
|
|
mkBoolOpt = default: description: lib.mkOption {
|
|
inherit default;
|
|
inherit description;
|
|
type = lib.types.bool;
|
|
example = true;
|
|
};
|
|
mkPrivateVar = default: lib.mkOption {
|
|
inherit default;
|
|
readOnly = true;
|
|
visible = false;
|
|
|
|
};
|
|
}
|