Evaluate a Nixvim configuration standalone
mainWhen using Nixvim standalone (outside of NixOS, Home Manager, or nix-darwin), you must explicitly evaluate your configuration using nixvim.lib.evalNixvim. Unlike the module-based approaches, standalone options are available directly without a namespace prefix (e.g., use colorschemes.gruvbox.enable instead of programs.nixvim.colorschemes.gruvbox.enable).
The resulting configuration object contains several key attributes:
config: The nested attribute set of all merged option values.options: The nested attribute set of all option declarations.type: A module system type.extendModules: A function to extend the current configuration with additional modules.
configuration = nixvim.lib.evalNixvim {
inherit system;
modules = [ ./config ];
};