mirror of
https://github.com/benkoppe/nvim-flake
synced 2026-03-09 20:07:40 -07:00
No description
- Lua 72.6%
- Nix 27.4%
| lua | ||
| .envrc | ||
| .gitignore | ||
| config.nix | ||
| flake.lock | ||
| flake.nix | ||
| init.lua | ||
| lazyvim.json | ||
| README.md | ||
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.