Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Nix
  3. NixVim

NixVim

MITNix

A Neovim configuration system built around Nix modules, enabling declarative and reproducible editor setups.

Visit WebsiteGitHubGitHub
3.0k stars407 forks0 contributors

What is NixVim?

Nixvim is a Neovim configuration system built around Nix modules, distributed as a Nix flake. It allows developers to declaratively configure Neovim using Nix, generating optimized Lua configurations automatically. This solves the problem of managing complex, reproducible editor setups across different machines and environments.

Target Audience

Nix and NixOS users who want a reproducible, declarative Neovim configuration, as well as developers seeking to manage their editor setup alongside their system configuration.

Value Proposition

Developers choose Nixvim for its seamless integration with the Nix ecosystem, enabling reproducible configurations, easy sharing, and performance-optimized Lua generation without sacrificing flexibility.

Overview

Configure Neovim with Nix! [maintainers=@GaetanLepage, @traxys, @mattsturgeon, @khaneliman]

Use Cases

Best For

  • Declaratively managing Neovim configurations in Nix-based setups
  • Ensuring reproducible editor environments across different machines
  • Integrating Neovim configuration with Home Manager or NixOS
  • Quickly testing Neovim config changes using standalone flakes
  • Managing plugins and settings with sensible defaults via Nix options
  • Sharing Neovim configurations as Nix modules or flakes

Not Ideal For

  • Developers on non-Nix systems or those unfamiliar with Nix who prefer traditional package managers
  • Users who need immediate, iterative configuration tweaks without rebuilds or Nix evaluations
  • Teams relying on dynamic plugin managers like lazy.nvim for runtime plugin loading and updates

Pros & Cons

Pros

Declarative Reproducibility

Enables entire Neovim setups to be defined in Nix expressions, ensuring configurations are reproducible and easily shareable across machines, as emphasized in the README's philosophy.

Plugin Management with Defaults

Plugins are enabled via modular Nix options with sensible defaults, reducing manual configuration effort for common setups like lualine with colorschemes.

Performance Optimized Generation

Generates Lua configuration automatically for fast startup times and disables all features by default to minimize overhead, as noted in the 'How does it work?' section.

Flexible Customization Options

Supports raw Lua through extraConfigLua and settings options, and allows Lua code in Nix via the __raw type, providing escape hatches for advanced users.

Cons

Nix Dependency and Version Pinning

Requires Nix and compatible nixpkgs versions, with strict versioning warnings in the README, adding setup complexity and potential compatibility issues for non-Nix users.

Incomplete Plugin Module Coverage

Not all Neovim plugins have built-in Nix modules, forcing users to rely on extraPlugins and manual configuration, as admitted in the Plugins section.

Documentation Gaps

The README states that detailed documentation for every module is still planned, which can hinder discoverability and ease of use for less common plugins.

Frequently Asked Questions

Quick Stats

Stars2,986
Forks407
Contributors0
Open Issues120
Last commit21 hours ago
CreatedSince 2020

Tags

#editor-configuration#declarative-config#nix-community-buildbot#vim#reproducible-environments#plugin-management#nixos#nix-modules#nix-darwin#nix#neovim#home-manager

Built With

F
Flakes
N
Nix
N
Neovim
L
Lua

Links & Resources

Website

Included in

Nix5.0k
Auto-fetched 13 hours ago

Related Projects

Home ManagerHome Manager

Manage a user environment using Nix [maintainer=@khaneliman, @rycee]

Stars10,537
Forks2,512
Last commit14 hours ago
nix-darwinnix-darwin

Manage your macOS using Nix

Stars6,091
Forks675
Last commit21 days ago
NixOS hardwareNixOS hardware

A collection of NixOS modules covering hardware quirks.

Stars3,367
Forks1,008
Last commit2 days ago
NixOS-WSLNixOS-WSL

NixOS on WSL [maintainer=@nzbr]

Stars3,166
Forks165
Last commit20 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub