Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.13 KB

README.md

File metadata and controls

47 lines (35 loc) · 1.13 KB

Nixvim

For systems with nix installed, the configuration can be tested with

nix run github:runarsf/nixvim --extra-experimental-features 'nix-command flakes' -- hello.py

Alternatively, it can be tested using docker

docker run -it ghcr.io/nixos/nix nix run github:runarsf/nixvim --extra-experimental-features 'nix-command flakes' -- hello.py

You can also run it locally

nix run . -- README.md

Using with NixOS / Home Manager

Add to flake inputs

inputs.nixvim.url = "github:runarsf/nixvim";

Create an overlay to replace default neovim

nixvim = final: prev: {
  neovim = inputs.nixvim.packages."${prev.system}".default;
};

Install neovim normally, system-wide or using home-manager.
The overlay ensures the right package is installed.

home.packages = with pkgs; [ neovim ];
environment.systemPackages = with pkgs; [ neovim ];

Checking for new plugins

list-plugin-releases.py will check for new plugin releases since the currently locked nixvim version.

./list-plugin-releases.py -t [github_token]