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%
Bumps [nixpkgs-stable](https://github.com/NixOS/nixpkgs) from `21a67dc` to `c3eea5b`.
- [Commits](
|
||
|---|---|---|
| .github | ||
| lua | ||
| nix | ||
| .envrc | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| init.lua | ||
| README.md | ||
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.