mirror of
https://github.com/materusPL/Nixerus.git
synced 2025-12-14 16:57:26 +01: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;
|
|
|
|
};
|
|
}
|