added neovim as a package wrap as well

This commit is contained in:
2026-08-30 18:23:42 +02:00
parent ee1ca68cdf
commit 2fa6b8e964
4 changed files with 44 additions and 146 deletions
+11 -1
View File
@@ -1,4 +1,4 @@
{ ... }:
{ inputs, ... }:
{
flake.modules.homeManager.neovim = { pkgs, config, lib, ... }:
let
@@ -66,4 +66,14 @@
# nix-shell -p nodejs --run "cd ${configHome}/.npm_global && npm install"
# '';
};
perSystem = { pkgs, ... }: {
packages.neovim = inputs.wrappers.lib.wrapPackage {
inherit pkgs;
package = pkgs.neovim;
flags = {
"-u" = ./neovim/init.lua;
};
};
};
}