1
Fork 0
mirror of https://github.com/benkoppe/nvim-flake synced 2026-09-19 13:09:52 -07:00
No description
  • Lua 87.2%
  • Nix 12.8%
Find a file
dependabot[bot] 3bc366045f
Bump nixpkgs-stable from 21a67dc to c3eea5b (#134)
Bumps [nixpkgs-stable](https://github.com/NixOS/nixpkgs) from `21a67dc` to `c3eea5b`.
- [Commits](21a67dc470...c3eea5b215)

---
updated-dependencies:
- dependency-name: nixpkgs-stable
  dependency-version: c3eea5b2156db11c7eeeada3dc737711255b253e
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-17 13:01:07 +00:00
.github Merge main into ditch-lazyvim 2026-08-30 08:50:21 -07:00
lua Use proper plugin name for catppuccin 2026-08-24 09:21:31 -07:00
nix Use self.outPath in place of self for explicit path 2026-08-24 11:17:48 -07:00
.envrc Initial commit: Create flake, import contents from nixcfg 2025-11-30 10:20:40 -05:00
.gitignore Replace mnw with nix-wrapper-modules 2026-08-22 12:36:01 -07:00
flake.lock Bump nixpkgs-stable from 21a67dc to c3eea5b (#134) 2026-09-17 13:01:07 +00:00
flake.nix Explicitly list supported systems 2026-08-24 11:13:24 -07:00
init.lua Restore plugin-aware which-key icons 2026-08-23 13:32:11 -07:00
README.md Add LazyVim as inspiration 2026-08-30 09:03:56 -07:00

NeoVim Flake

My Neovim configuration, packaged with nix-wrapper-modules.

Test it out

Using flakes:

nix run github:benkoppe/nvim-flake
nix run github:benkoppe/nvim-flake#full
nix run github:benkoppe/nvim-flake#minimal

Profiles

The flake provides three packages built from the same Lua configuration:

Package Commands Intended use
default nvim, v Most features with common language tools bundled
full nvim, v Every plugin, language tool, debugger, formatter, and linter
minimal nvim-minimal, vi, vim Fast general editing with the same UI and editing experience

To install

Add this flake as an input:

# flake.nix
{
  inputs = {
    nvim-flake = {
      url = "github:benkoppe/nvim-flake";
      inputs.nixpkgs.follows = "nixpkgs";
    };
...

Add the output package to your environment:

# add system-wide
environment.systemPackages = [
  inputs.nvim-flake.packages.${pkgs.stdenv.hostPlatform.system}.full
  inputs.nvim-flake.packages.${pkgs.stdenv.hostPlatform.system}.minimal
];
# add per-user
users.users."<name>".packages = [
  inputs.nvim-flake.packages.${pkgs.stdenv.hostPlatform.system}.default
  inputs.nvim-flake.packages.${pkgs.stdenv.hostPlatform.system}.minimal
];

In the same way, it can be added to home-manager or nix-darwin configurations.

Inspiration