nvim

My Neovim config as a Nix flake. Plugins, LSP, and the editor version are all pinned.

Year
2025—
Status
active
Stack
Nix, nvf, Neovim

A Neovim setup managed with nvf. Instead of a folder of Lua files and lazy-loading scripts, the editor is Nix options.

What that gives me

Nix fetches and hashes the plugins, so the editor is identical on every machine. Language servers, formatters, and linters are Nix options too, so there is no Mason and no second package manager inside the editor.

The Neovim version and every plugin commit are locked in flake.lock. A config from six months ago still builds.

It builds on x86-64 and aarch64. CI keeps a cache warm so a new machine does not compile everything.

Try it

No cloning needed:

nix run github:ItzEmoji/nvim --accept-flake-config

That fetches the prebuilt config and starts it. It does not touch your setup.