From 62028d63273ff56d8cf3ab2184c545ce91b8c8c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sat, 14 Dec 2024 22:50:09 +0100 Subject: [PATCH] feat(nvim): add headless package This removes all dev packages making it a much smaller package (~600MiB) --- flake-modules/nvim.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake-modules/nvim.nix b/flake-modules/nvim.nix index 97efc41..78a6732 100644 --- a/flake-modules/nvim.nix +++ b/flake-modules/nvim.nix @@ -1,4 +1,4 @@ -{ inputs, lib, ... }: +{ inputs, ... }: { flake.overlays.nixvim = inputs.nixvim.overlays.default; @@ -44,6 +44,7 @@ packages = { nvim = nixvim.makeNixvimWithModule moduleDev; # Smaller derivations + nvim-headless = nixvim.makeNixvimWithModule moduleHeadless; nvim-small = nixvim.makeNixvimWithModule moduleNoBundledBins; nvim-no-ts = nixvim.makeNixvimWithModule moduleNoTSGrammars; nvim-no-lsps = nixvim.makeNixvimWithModule moduleNoLsp; -- 2.47.0