This overlay includes all of the plugins available through Nixvim
, minus the ones that have their own Flake (plus a few extra popular plugins that are not yet in Nixvim
).
{
inputs = {
neovim-plugins-nightly-overlay.url = "github:zachcoyle/nix-config";
};
}
nixpkgs.overlays = [
inputs.neovim-plugins-nightly-overlay.overlays.default
];
The plugins available in nipxkgs are updated way too slowly when using Neovim nightlies, even when running on unstable, causing extended periods of breakage. Having the plugins update nightly, independently from nixpkgs, reduces this to just the brief breakage of regular Neovim nightly usage. This overlay updates the plugins every hour and updates the flake inputs daily.
Simply add this flake as a flake input and add the provided neovim-plugins-nightly-overlay.overlays.default
flake output.
The only prior art I've personally seen has all made the same design choice for the overlay, which is "incompatible" with Nixvim
. This overlay just overrides the src
and version
of each included plugin rather than including a separate package set. The benefit of this is being able to take advantage of the existing overrides in nixpkgs (which add dependencies, etc, to some plugins) as well as being plug-and-play for Nixvim
.
PRs welcome!