LSP now implemented same way in better nixIDEA plugin, use it instead: https://plugins.jetbrains.com/plugin/8607-nixidea/
This is very simple plugin, that provide extended NIX language support from LSP plugin:
For better syntax highlight, it's strongly recommended to also install:
Add nixd
to system packages.
Plugin assumes that nixd
is installed and available in your host.
environment.systemPackages = with pkgs; [
nixd
];
Then download and install this plugin from jetbrains marketplace.