nixd icon indicating copy to clipboard operation
nixd copied to clipboard

Nix language server, based on nix libraries [maintainer=@inclyc]

trafficstars

nixd

Nix language server

About

This is a feature-rich nix language server interoperating with C++ nix.

Some notable features provided by linking with the Nix library include:

  • Nixpkgs option support, for all option system (NixOS/home-manager/flake-parts).
  • Nixpkgs package complete, lazily evaluated.
  • Shared eval caches (flake, file) with your system's Nix.
  • Support for cross-file analysis (goto definition to locations in nixpkgs).

Get Started

You can try nixd without installation. We have tested some working & reproducible editor environments.

Resources

  • Editor Setup (get basic working language server out of box)
  • Configuration (see how to, and which options are tunable)
  • Features (features explanation)
  • Developers' Manual (internal design, contributing)
  • Project matrix room: https://matrix.to/#/#nixd:matrix.org