Nixerus/lib/default.nix

17 lines
286 B
Nix
Raw Normal View History

2023-05-06 21:03:30 +02:00
{ pkgs }:
2023-05-18 12:07:07 +02:00
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;
};
2023-05-06 21:03:30 +02:00
}