My personal neovim configuration
nix run github:iguntur/vnix
# or enable the experimental features directly command line
nix run --extra-experimental-features 'nix-command flakes' github:iguntur/vnix
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
# ...
vnix.url = "github:iguntur/vnix";
};
outputs = inputs@{ nixpkgs, ... }: {
# Option 1: NixOS or Nix Darwin
environment.systemPackages = [
inputs.vnix.packages.${system}.default;
];
# Option 2: Home Manager
home.packages = [
inputs.vnix.packages.${system}.default;
];
};
}
git clone [email protected]:iguntur/vnix.git
cd vnix
nix run .
nix flake update
nix run .
My setup was inspired by the LazyVim since my previous neovim configuration was setup using it. Thanks to nix-community and the configuration examples for the best guides.