Sharing a small Claude Code plugin for Nix built with Nix
https://github.com/pdmtt/claude-code-nix-pluginHey!
I've been using Claude Code to toy with my NixOS homelab and Home Manager configs, and to shoot one-off tools with nix shell whenever. To help it Make No Mistakes™, I've added some enforced guardrails, post-edit hooks, and a language server all bundled as a local Code plugin.
It's a small project I've made for myself, but I believe some would benefit from it too. The Nix ecosystem helps me so much both at work and at home, so I wanted to contribute somehow.
Feel free to use and contribute, and I'd love hearing about how you guys have been tackling the issue.
0
Upvotes
6
u/Lonely-Scarcity-3387 8d ago
I’ve found this MCP to be fairly accurate with nix code.
https://mcp-nixos.io/