- use
./install.shto install globally via nix profile - use
nix build '.#nvim'to build locally (you will generate a./resultsymlink - to incoporate into
configuration.nix:- Add flake source to your
flake.nix, supposing:inputs.nixvim.url = "./modules/nixvim-config";
- Add the flake into your
configuration.nix(ensuresystemandinputsare passed in viaextraSpecialArgsin flake file):environment.systemPackages = [ inputs.nixvim.packages.${system}.default ];
- Add flake source to your
I suggest testing locally with just nix build and result/bin/nvim, and once happy, rebuild your nixos.