Open j0hax opened 4 days ago
for what is worth, I see adding nixos modules for editors a bit like a defeat. We should be able to generate arbitrayr helix/neovim configs on the fly. Their main advantage is to generate some documentation in man configuration.nix
.
I've created the neovim nixos module to work around shortcomings of the neovim wrapper (which is getting a lot better but not documented yet).I would find it more elegant to have a helix wrapper like helix.withConfig( { plugins = ... }).
That's for the philosophical aspect, a nixos module might be the easiet in practice ^^''
Description
Several programs are available as a NixOS default editor, and I think it would be really neat to have a configuration option like
programs.helix.defaultEditor = true;
.Using a NixOS Module would also make it possible to declaratively bundle LSPs or other optional dependencies directly with the editor, à la
programs.neovim.withRuby
.Notify maintainers
Note for maintainers: Please tag this issue in your PR.
Add a :+1: reaction to issues you find important.