nixos/overlays/neovim.nix

19 lines
560 B
Nix
Raw 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 = [
(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;
})
];
}