A seamless way to integrate NvChad, a blazing fast Neovim configuration, into your Nix setup.
nix4nvchad provides a declarative, reproducible way to install and configure NvChad using Nix flakes. It safely manages NvChad's runtime state by automatically provisioning its configuration directory while keeping your system environment clean by injecting LSP servers and tools exclusively into the Neovim wrapper.
- Home Manager Integration: Easily configure NvChad using our provided Home Manager module.
- Standalone Package: Use it independently of Home Manager by overriding the Nix derivation directly.
- Isolated Dependencies: Manage your runtime dependencies (like LSP servers, formatters, and tools) in isolation. They are made available exclusively to NvChad without polluting your global
$PATH. - Custom Starter: Swap the default starter repository with your own fork to maintain pure, vanilla Lua configuration while leveraging Nix for dependencies.
Want to see it in action without installing? You can run it directly:
nix run github:nix-community/nix4nvchadWarning
If you already have an existing Neovim configuration at ~/.config/nvim, this command will create a backup before launching. Make sure your environment is safe.
Comprehensive guides on installation, configuration, and advanced usage are available in the official Documentation.
This project is licensed under the GPL-3.0 License.