1
Fork 0
mirror of https://github.com/benkoppe/nvim-flake synced 2025-12-05 18:28:09 -08:00
No description
Find a file
ben 25c67d82fd
Use separate init.lua instead of initLua config options
This is better for compatability with non-nix systems
2025-11-30 12:18:01 -05:00
lua Which-key: revert from "classic" preset to default "helix" 2025-11-30 12:08:41 -05:00
.envrc Initial commit: Create flake, import contents from nixcfg 2025-11-30 10:20:40 -05:00
.gitignore Initial commit: Create flake, import contents from nixcfg 2025-11-30 10:20:40 -05:00
config.nix Use separate init.lua instead of initLua config options 2025-11-30 12:18:01 -05:00
flake.lock Initial commit: Create flake, import contents from nixcfg 2025-11-30 10:20:40 -05:00
flake.nix Flake: add dev to devShell 2025-11-30 12:08:06 -05:00
init.lua Use separate init.lua instead of initLua config options 2025-11-30 12:18:01 -05:00
lazyvim.json chore: rename lang.omnisharp -> lang.dotnet 2025-11-30 10:35:00 -05:00
README.md Add basic README 2025-11-30 10:44:59 -05:00

NeoVim Flake

My nvim configuration, packaged with mnw.

Test it out

Using flakes:

nix run github:benkoppe/nvim-flake

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}.default
];
# add per-user
users.users."<name>".packages = [
  inputs.nvim-flake.packages.${pkgs.stdenv.hostPlatform.system}.default
];

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

Inspiration