Open alecandido opened 8 months ago
[ ] feature-gate neovim LSP servers
they are the biggest part of neovim (the other configs are light)
mostly at the level of Nix (avoid installing some packages)
propagate the information with an environment variable and catch it inside neovim as well (to disable the related configs and avoid failing)
in the first place let it fail
and then fix the failures with a test case
Instead of using a list of toggles, like: https://github.com/alecandido/nixpkgs/blob/b4d147a5d43712a8295c718bff96980eaaaedfee/systems/nixos/default.nix#L64 it would be more natural to have attributes, like:
But even better, it would be to have an home-manager module where to write some configurations, and then use this high-level configs to enable a series of other configs (like right now it is happening for toggles). https://nixos.org/manual/nixos/stable/index.html#sec-writing-modules
Using home-manager it should on every platform (including darwin), and the configurations could be added as an extra module in
systems/
.