feat(nvim): add headless package
All checks were successful
/ check (push) Successful in 47s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s

This removes all dev packages making it a much smaller package (~600MiB)
This commit is contained in:
Jalil David Salamé Messina 2024-12-14 22:50:09 +01:00
parent 26a77f6b6b
commit 62028d6327
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -1,4 +1,4 @@
{ inputs, lib, ... }: { inputs, ... }:
{ {
flake.overlays.nixvim = inputs.nixvim.overlays.default; flake.overlays.nixvim = inputs.nixvim.overlays.default;
@ -44,6 +44,7 @@
packages = { packages = {
nvim = nixvim.makeNixvimWithModule moduleDev; nvim = nixvim.makeNixvimWithModule moduleDev;
# Smaller derivations # Smaller derivations
nvim-headless = nixvim.makeNixvimWithModule moduleHeadless;
nvim-small = nixvim.makeNixvimWithModule moduleNoBundledBins; nvim-small = nixvim.makeNixvimWithModule moduleNoBundledBins;
nvim-no-ts = nixvim.makeNixvimWithModule moduleNoTSGrammars; nvim-no-ts = nixvim.makeNixvimWithModule moduleNoTSGrammars;
nvim-no-lsps = nixvim.makeNixvimWithModule moduleNoLsp; nvim-no-lsps = nixvim.makeNixvimWithModule moduleNoLsp;