# nix-community/nixd

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

Repository: https://github.com/nix-community/nixd
Canonical: https://ross.abutalabs.com/products/nixd
Homepage: https://github.com/nix-community/nixd
Language: C++
License: LGPL-3.0
License Family: copyleft
Topics: language-server-protocol, nix, nixos
Last push: 2026-08-24T10:06:02+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 81, longevity 86
- inputs: {"age_days": 1211, "days_push": 9, "days_rel": 50, "gap_med": 36.5, "n_releases_24m": 15}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1463, forks 76 (observed 2026-08-28T04:04:47.823679+00:00)

## What it is
nixd is a feature-rich language server for the Nix language, built in C++ on top of the Nix libraries. It provides editor intelligence such as Nixpkgs option completion, lazy package completion, shared eval caches, and cross-file goto-definition.

## Use cases
- get nix autocomplete and diagnostics in my editor
- language server for nix with nixpkgs option completion
- goto definition into nixpkgs from my nix config
- lsp server for editing nixos and home-manager configurations
- share nix evaluation caches with my language server
- set up a reproducible nix editing environment

## When to choose
- you write Nix, NixOS, home-manager, or flake-parts configuration and want rich editor support
- you want deep nixpkgs integration like option and package completion
- you want a language server that shares eval caches with your system Nix

## When to avoid
- you don't work with the Nix language
- you need a language server for another language
- you want a minimal LSP without nix library dependencies

## Facets
- artifact type: cli-tool
- maturity: active
- function: editor, parser, developer-tools
- domain: developer-tools, programming-languages
- platform: cpp, cli
- tags: language-server-protocol, nix, nixos, lsp, language-server, command-line, linux, macos

## Member repositories
- nix-community/nixd (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:47.823679+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:35:13.708964+00:00, confidence not recorded.
  - readme: https://github.com/nix-community/nixd (fetched 2026-08-28T04:04:47.823679+00:00, sha 5f0c623652d6)
  - homepage: https://github.com/nix-community/nixd (fetched 2026-08-29T11:43:38.056387+00:00, sha cd91f5a72a8d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
