neovim from unstable
This commit is contained in:
parent
63f29587c7
commit
751bf2bf81
2 changed files with 21 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
{...}: {
|
||||
imports = [];
|
||||
imports = [
|
||||
./neovim.nix
|
||||
];
|
||||
}
|
||||
|
|
18
overlays/neovim.nix
Normal file
18
overlays/neovim.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
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;
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue