programs.neovim.configure

NixOS option

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 in: nixos/modules/programs/neovim.nixView source on NixOS/nixpkgs →