Uses nix-wrapper-modules to generate Neovim configurations.
There are multiple neovim configurations exposed from this flake:
neovim: full neovim profile for developmentneovim-minimal: minimal neovim profile for servers / headlessneovim-d2: full neovim profile with d2 plugin (large dependencies)
Usage:
git clone https://github.com/kraftnix/kraftnvim ~/.config/kraftnvim-wip
KRAFTNVIM_NAME=kraftnvim-wip kraftnvimLocalInstructions on how to use this configuration in downstream ways.
Run directly from this flake or add to packages.
nix run github:kraftnix/kraftnvim#kraftnvimAdd to devshell or package
{ inputs, pkgs, ... }: {
environment.systemPackages = [
inputs.kraftnvim.packages.${pkgs.stdenv.hostPlatform.system}.kraftnvimStable
];
}Extra vim plugins are fetched using nvfetcher.
All plugins are added to an overlay at overlays.vimPlugins and available as packages
at packages.<system>.vimPlugins
Add an entry to sources.toml and add the plugin to the list at
the top of packages.
Uses nvfetcher to handle extra vimPlugins.
nvfetcher -c ./packages/sources.toml -o ./packages/_sources- integrate nixCats splits of categories in lua plugin code
- currently only splitting for adding plugins, which is ignored by lazy.nvim anyway
- investigate using
lzefor plugin loading instead oflazy.nvim