[refactor] neovim: switch to upstream flake

Instead of the community maintained `neovim-nightly-overlay` use the
upstream flake provided by the neovim team. The overlay provided
overwrites `neovim` stable, but I don't use it anyways.
This commit is contained in:
Jalil David Salamé Messina 2024-05-04 20:21:41 +02:00
parent 6be1975d06
commit a965b68600
Signed by: jalil
GPG key ID: F016B9E770737A0B
3 changed files with 15 additions and 120 deletions

View file

@ -28,8 +28,8 @@
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware";
inputs.neovim-nightly.url = "github:nix-community/neovim-nightly-overlay";
inputs.neovim-nightly.inputs.nixpkgs.follows = "nixpkgs";
inputs.neovim-flake.url = "github:neovim/neovim?dir=contrib";
inputs.neovim-flake.inputs.nixpkgs.follows = "nixpkgs";
inputs.pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
inputs.pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs";
@ -46,7 +46,7 @@
jpassmenu,
audiomenu,
nixvim,
neovim-nightly,
neovim-flake,
}:
let
inherit (nixpkgs) lib;
@ -106,7 +106,7 @@
# Provide necessary overlays
overlays = {
nixvim = nixvim.overlays.default;
neovim-nightly = neovim-nightly.overlays.default;
neovim-nightly = neovim-flake.overlay;
jpassmenu = jpassmenu.overlays.default;
audiomenu = audiomenu.overlays.default;
};