https://github.com/nix-community/nixd
Nix language server, based on nix libraries [maintainer=@inclyc,@Aleksanaa]
https://github.com/nix-community/nixd
language-server-protocol nix nixos
Last synced: 6 days ago
JSON representation
Nix language server, based on nix libraries [maintainer=@inclyc,@Aleksanaa]
- Host: GitHub
- URL: https://github.com/nix-community/nixd
- Owner: nix-community
- License: lgpl-3.0
- Created: 2023-05-10T08:41:17.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-09T14:27:40.000Z (10 days ago)
- Last Synced: 2025-04-11T18:06:32.308Z (8 days ago)
- Topics: language-server-protocol, nix, nixos
- Language: C++
- Homepage: https://github.com/nix-community/nixd
- Size: 4.94 MB
- Stars: 1,037
- Watchers: 7
- Forks: 37
- Open Issues: 52
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-nix - nixd - Nix language server, based on Nix libraries. (Development / Discovery)
- awesome-starred - nix-community/nixd - Nix language server, based on nix libraries [maintainer=@inclyc,@Aleksanaa] (C++)
- awesome-starred - nix-community/nixd - Nix language server, based on nix libraries [maintainer=@inclyc,@Aleksanaa] (C++)
README
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](/nixd/docs/editors/editors.md).## Resources
- [Editor Setup](nixd/docs/editor-setup.md) (get basic working language server out of box)
- [Configuration](nixd/docs/configuration.md) (see how to, and which options are tunable)
- [Features](nixd/docs/features.md) (features explanation)
- [Developers' Manual](nixd/docs/dev.md) (internal design, contributing)