nixos/overlays/neovim.nix

19 lines
560 B
Nix

{
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 = [
(self: super: {
# Home-manager uses the neovim-unwrapped package for the neovim module
neovim-unwrapped = nixpkgs-unstable.legacyPackages.${super.system}.neovim-unwrapped;
vimPlugins = nixpkgs-unstable.legacyPackages.${super.system}.vimPlugins;
})
];
}