Query NixOS packages, options, Home Manager, and nix-darwin configurations to obtain current data from nixpkgs and Nix channels, preventing AI hallucination about Nix resources.
Activate NixOS or Home Manager configuration by running the switch command, recording rollback generation and summarizing changes. Optionally validate with a dry build before switching.
MCP-NixOS is a Model Context Protocol server that provides real-time, accurate information about NixOS packages, options, Home Manager, and nix-darwin configurations, preventing AI assistants from hallucinating about NixOS resources and enabling them to deliver factual system configuration guidance.
Enables searching and retrieving NixOS configuration options using the official NixOS search API. It provides detailed metadata including option types, default values, and descriptions with full support for paginated results.
Evaluate final merged values of NixOS/Home Manager configuration attributes using nix eval. Supports single or batch attribute queries with auto-resolved flake URI and mode.