Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nix-community/neovim-nightly-overlay

[maintainer=@Kranzes]
https://github.com/nix-community/neovim-nightly-overlay

neovim nix

Last synced: about 2 months ago
JSON representation

[maintainer=@Kranzes]

Awesome Lists containing this project

README

        

# To use the overlay

## with Flakes

If you are using [flakes] to configure your system, you can either reference the
package provided by this flake directly, e.g. for nixos:

```nix
{ inputs, pkgs, ... }:
{
programs.neovim = {
enable = true;
package = inputs.neovim-nightly-overlay.packages.${pkgs.system}.default;
};

# or

environment.systemPackages = [
inputs.neovim-nightly-overlay.packages.${pkgs.system}.default
];
}
```

or you can apply the overlay to your package set, e.g for home-manager:

```nix
{
inputs = {
...
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
};

outputs = { self, ... }@inputs:
let
overlays = [
inputs.neovim-nightly-overlay.overlays.default
];
in
homeConfigurations = {
macbook-pro = inputs.home-manager.lib.homeManagerConfiguration {
modules = [
{
nixpkgs.overlays = overlays;
};
];
};
};
}
```

## without Flakes

Add the overlay to your home.nix (home-manager) or configuration.nix (nixos):

```nix
{
nixpkgs.overlays = [
(import (builtins.fetchTarball {
url = "https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz";
}))
];
}
```

# Binary cache

See: https://app.cachix.org/cache/nix-community

[flakes]: https://nixos.wiki/wiki/Flakes