nix-community.nixvim/modules/misc/context.nix
2024-08-20 22:02:29 +01:00

24 lines
564 B
Nix

{ lib, ... }:
{
options = {
isTopLevel = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether modules are being evaluated at the "top-level".
Should be false when evaluating nested submodules.
'';
internal = true;
visible = false;
};
isDocs = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether modules are being evaluated to build documentation.
'';
internal = true;
visible = false;
};
};
}