mirror of
https://github.com/benkoppe/nvim-flake
synced 2025-12-05 18:28:09 -08:00
No description
|
|
||
|---|---|---|
| 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.