Template: NVF Standalone
The nvf-standalone template demonstrates how to use Den for
other configurations outside NixOS/nix-Darwin/HM. For demo
purposes this uses NVF Standalone to confirue a runnable .#my-neovim app.
Initialize
Section titled “Initialize”mkdir my-neovim && cd my-neovimnix flake init -t github:vic/den#nvf-standalonenix flake update dennix run .#my-neovimProject Structure
Section titled “Project Structure”flake.nix # dependencies including NVFmodules/ den.nix # uses Den to expose an standalone neovim app.Key points:
- Runnable app — exposes
.#my-neovimapp - Custom forward class — uses a
vimclass that forwards tonvf.config.vim - Custom ctx — shows how to use Den with custom context to resolve
nvfmodule.
Next Steps
Section titled “Next Steps”- Read NVF Documentation