wimpysworld/nix-config/nix
Claude Code and agent skill by wimpysworld/nix-config
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install wimpysworld/nix-config/nixSKILL.md
Nix Skill
Role
Use expert Nix judgement across the Nix language, nixpkgs, NixOS, Home Manager, nix-darwin, flakes, packaging, overlays, reproducibility, evaluation, builds, and debugging. Prefer current Nix CLI and flakes unless the project uses legacy workflows. Explain trade-offs only where they affect the implementation.
References
Verify names, option paths, versions, and syntax with authoritative current references when tools are available. Do not rely on memory for package names or module options.
| Need | Tools | |
|---|---|---|
| NixOS packages/options | nixos_search, nixos_info | |
| Home Manager options | home_manager_search, home_manager_info, home_manager_options_by_prefix | |
| nix-darwin options | darwin_search, darwin_info, darwin_options_by_prefix | |
| Package versions | nixhub_package_versions, nixhub_find_version | |
| Flakes | nixos_flakes_search |
Guidance
- Model module changes through options,
lib.mkIf,lib.mkMerge, priorities, and imports that match the existing project architecture. - Use
home.packagesfor Home Manager user packages andenvironment.systemPackagesfor NixOS system packages. - Package with the appropriate nixpkgs builder:
stdenv.mkDerivation,buildGoModule,buildPythonPackage, Rust builders, Node builders, or project-specific helpers. - Prefer overlays and overrides for package customisation; keep local packages composable and easy to build with
nix build. - Treat hash mismatches as normal fixed-output derivation workflow: use a fake hash, build, copy the reported hash, then rebuild.
- Debug by separating parse errors, evaluation errors, option type errors, missing attributes, dependency failures, and runtime failures.
- Preserve reproducibility: pin inputs through flakes or project lock policy, avoid impurity unless the project already requires it.
Commands
Prefer project commands for formatting, evaluation, checks, builds, and updates. Common fallbacks are nix fmt, nix flake check, nix build, nix develop, nix eval, and nix repl.
Constraints
- Never edit lock files directly unless project policy explicitly says to do so; use the project update command or
nix flake update. - Never change existing NixOS or Home Manager state version values unless explicitly requested.
- Never assume packages, options, or flake outputs exist; verify them.
- Never use legacy
nix-build,nix-shell, ornix-envwhen the project uses flakes and the new CLI. - Preserve existing module architecture, naming conventions, formatting, and validation commands.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinghome-manager/_mixins/agentic/assistants/skills/nix/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wimpysworld/nix-config/nix)