nix-setup

Installation
SKILL.md

Nix Setup Skill

Reference for setting up reproducible development environments. Two paths share the same Nix backend:

  • devbox — thin layer over Nix; devbox.json is concise JSON. Default for new projects.
  • pure flake.nix — full Nix expression power; per-language templates ship under assets/ for cp-and-go bootstrap.

Decision: devbox or pure flake?

devbox runs on top of Nix (uses Nix store + nixpkgs internally), so picking one or the other is a UX choice, not a stack choice. Defaults for mizchi/:

When Use
New project, standard nixpkgs packages cover the need devbox
Need a custom derivation, input override, overlay, or buildNpmPackage flake.nix
Need flake.lock as the authoritative reproducibility source (vs devbox.lock) flake.nix
Targeting Claude Code web / sandboxed env where the devbox installer is too heavy flake.nix with setup_nix.sh
Already own a working flake; team uses direnv flake.nix
Related skills

More from mizchi/skills

Installs
11
Repository
mizchi/skills
GitHub Stars
186
First Seen
Apr 27, 2026