neovim-flake configuration
5
neovim-flake
neovim configuration
neovim-flake configuration specification
Description
Custom configuration is done with the neovim-flake.lib.neovimConfiguration if home-manager module is not in use.
It takes in the configuration as a module.
neovim-flake.lib.neovimConfiguration {
inherit pkgs;
modules = [{config = xxx;}];
};
The output of the configuration function is an attrset.
{
options = "The options that were available to configure";
config = "The outputted configuration";
pkgs = "The package set used to evaluate the module";
neovim = "The built neovim package";
}
In case of the home-manager module, all options will be available under programs.neovim-flake once the module has
been imported from the flake inputs.
Options
You can use the following options in your neovim configuration.