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 configure a runnable .#my-neovim app.
Initialize
Section titled “Initialize”mkdir my-neovim && cd my-neovimnix flake init -t github:denful/den#nvf-standalonenix flake update dennix run .#my-neovimProject Structure
Section titled “Project Structure”flake.nix # dependencies including NVFmodules/ den.nix # exposes the standalone neovim package + aspects nvf-integration.nix # the den.lib.nvf helper: forward class + resolve header.txt # dashboard header used by the `mine` variantKey points:
- Runnable app — exposes
.#my-neovim(and.#your-neovim) - Custom forward class — a
vimclass that forwards intonvf.vim - Aspect-to-module —
den.lib.aspects.resolve "nvf" aspectturns an aspect tree into a plain NixOS-style module fornvf’sneovimConfiguration.
Next Steps
Section titled “Next Steps”- Read NVF Documentation