1
0
Fork
You've already forked nvim-nix
0
A simple Nix flake for running Neovim
  • Lua 62%
  • Nix 38%
2025年09月19日 16:10:55 -07:00
config Reapply "fix: jdtls with lombok" 2025年07月16日 14:07:56 -07:00
packages feat: use stable, add conjure 2025年06月05日 07:51:27 -07:00
.gitignore feat: nvim-nix 2023年10月27日 13:48:44 -07:00
flake.lock update: deps 2025年09月19日 16:10:55 -07:00
flake.nix feat: use stable, add conjure 2025年06月05日 07:51:27 -07:00
plugins.nix update: deps 2025年09月19日 16:10:55 -07:00
README.md feat: bring zk back 2024年03月23日 10:18:04 -07:00
runtimeDeps.nix feat: add clojure-lsp 2025年06月25日 10:11:32 -07:00
tree-sitter.nix chore: remove norg tresitter 2025年06月13日 20:55:43 -07:00

A Neovim Flake

A super simple Nix flake for a highly reproducible Neovim. The goal of this configuration is to be able to have a consistent, stable Neovim configuration that will always have its dependencies satisfied.

Thanks to PrimaMateria for the article on how to do this:

See PrimaMateria's Blog

Features

  • Built-in LSP support for Java (JDTLS), JavaScript/TypeScript, HTML/CSS, Vue3 and some other stuff, too.
  • Debug adapter support for Java
  • Built-in tree-sitter parsers for numerous languages.
  • Rich Markdown editing, powered by tree-sitter, Mkdnflow and ZK

Usage

You can run this nix flake on the CLI executing nix run sourcehut:~trevdev/nvim-nix. You could create a shell alias and stop worrying about installing the flake altogether:

nvim = "nix run sourcehut:~trevdev/nvim-nix --";

Alternatively you could clone the source code and run it from your local machine. This will give you the ability to change things with ease: nix run /path/to/nvim-nix;

With home-manager

If you're using home manager, you may just add this flake as an input and add it to whatever package manifest you may have.

let
 nvim-nix = (builtins.getFlake "sourcehut:~trevdev/nvim-nix")
 .packages.x86_64-linux.default;
in {
 home.packages = [ nvim-nix ]; # along with your other packages
}