feat(neovim)!: pull flake information from envvar

This makes so we don't have to rely on writing an extra derivation just
for the parsed lsp configuration.

Thus, the `programs.neovim.nixd.hostname` settings has been dropped and
you can migrate your `programs.neovim.nixd.location` to
`programs.neovim.flakePath` if you do not set the `FLAKE` envvar
anywhere.
This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2025-04-24 23:27:56 -03:00
parent 5090767ba2
commit 5b99eaffea
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
5 changed files with 34 additions and 49 deletions

View file

@ -85,14 +85,6 @@
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
programs.neovim = {
# Enable Neovim, pre-configured by `linuxware`.
enable = true;
# Configure nixd
nixd = {
hostname = "your-hostname-here";
location = "your-flake-location-here";
};
};
# Enable Neovim, pre-configured by `linuxware`.
programs.neovim.enable = true;
}