Username/luixos/YouTube/26/01/Neovim on NixOS - Nixvim vs NixCats vs NVF
Properties
- logseq-entity
- Logseq/Entity/YouTube
Neovim on NixOS: Nixvim vs NixCats vs NVF - YouTube
AI Notes
Core Idea of the Video
nixCats-nvim
- Philosophy:
- Keep your normal Lua-based Neovim config, and use Nix only to fetch dependencies.
How it works
- Nix installs plugins, binaries, LSP servers, etc.
- Your actual config stays as regular Lua (
init.lua) - You can keep using plugin managers like
lazy.nvim.
Pros
- Easiest if you already have a Neovim Lua config
- Minimal rewrites required
- Familiar workflow for traditional Neovim users
- Nix handles dependency installation reproducibly
Cons
Best for
- People who:
- Already have a Lua Neovim setup
- Want Nix for dependency management
- Don't want to rewrite their config.
- People who:
- Philosophy:
nixvim
- Philosophy:
- Configure Neovim primarily through Nix modules, and let Nix generate the Lua.
How it works
Pros
- Strong integration with the Nix ecosystem
- Declarative configuration through modules
- Sensible defaults
- Less handwritten Lua required
Cons
Best for
- People who:
- Want a mostly Nix-driven configuration
- Use Home Manager / NixOS modules
- Prefer declarative configuration but still allow Lua if needed.
- People who:
- Philosophy:
nvf (Nix Vim Framework)
Ease of Use (According to the Video)
- From easiest to hardest:
- nixCats-nvim is the easiest
- nixvim is medium
- nvf is most powerful but hardest
- Reason:
- nixCats-nvim: keep Lua config
- nixvim: mixed Nix/Lua but structured
- nvf: full Nix configuration
- From easiest to hardest:
Practical Decision Rule
- Use nixCats-nvim if:
- You already have a Lua config
- You just want Nix to install dependencies.
- Use nixvim if:
- You want declarative Nix modules
- You're comfortable mixing Nix and Lua.
- Use nvf if:
- Use nixCats-nvim if:
Video