Skip to content

Latest commit

 

History

History
22 lines (11 loc) · 1.29 KB

README.md

File metadata and controls

22 lines (11 loc) · 1.29 KB

Neovim via Nix

This is my personal Neovim configuration described as a nix flake. The flake is a recipe that outputs a derivation containing neovim and my configuration + packages.

The nix part is originally based on the template from kickstart-nix.nvim. With additional inspiration from pierrot-lc/nvim-nix.

The actually config itself is based on kickstart.nvim.

Usage

Add the flake to your inputs, apply the overlay, and include the configured-nvim package.

Implict dependencies

Many LSPs, formatters and other tools which are potentially used by the plugins in this configuration are not packaged in this flake.

To me this makes sense because an editor configuration should not describe how to get or build those dependencies, it just expects them to be available.

So you can install them globally, or add them to a per-project flake.

If you want to view all of the potential dependencies, you can look at the neovim-overlay.nix file (the expectedDeps key). There is defined a list of packages that could be used by the configuration. These are also exposed as their own package in the overlay: configured-nvim-deps.