programs.neovim.configure
Generate your init file from your list of plugins and custom commands.
Neovim will then be wrapped to load nvim -u /nix/store/«hash»-vimrc
- Type
attribute set- Default
{ }- Example
{ customRC = '' " here your custom VimScript configuration goes! ''; customLuaRC = '' -- here your custom Lua configuration goes! ''; packages.myVimPackage = with pkgs.vimPlugins; { # loaded on launch start = [ fugitive ]; # manually loadable by calling `:packadd $plugin-name` opt = [ ]; }; }- Declared
- <nixpkgs/nixos/modules/programs/neovim.nix>