nixos/overlays/neovim.nix

19 lines
558 B
Nix
Raw Permalink Normal View History

2024-07-01 22:29:12 +02:00
{
home-manager,
home-manager-unstable,
nixpkgs-unstable,
...
}: {
home-manager.users.caspervk = {
disabledModules = ["${home-manager}/modules/programs/neovim.nix"];
imports = ["${home-manager-unstable}/modules/programs/neovim.nix"];
};
nixpkgs.overlays = [
(final: prev: {
2024-07-01 22:29:12 +02:00
# Home-manager uses the neovim-unwrapped package for the neovim module
neovim-unwrapped = nixpkgs-unstable.legacyPackages.${prev.system}.neovim-unwrapped;
vimPlugins = nixpkgs-unstable.legacyPackages.${prev.system}.vimPlugins;
2024-07-01 22:29:12 +02:00
})
];
}