MHN
Add a comment on Hacker News →
2 of 158 comments
  1. I use a raspberry pi for all my experiments

  2. If you are a Nix flake enjoyer, I whipped up something similar to this (Claude Code-only right now) based on microvm.nix: https://github.com/cdata/katsuobushi/tree/main/lib/sandbox

    Some highlights:

    • Drives Claude Code as a quasi-subagent via "Channels," which supports multi-turn interaction with the host and suspend / resume
    • Declarative configuration in the flake of exactly what is copied into the VM (besides the local project), what DNS origins are allowed, etc.
    • Shared access to host Nix store / object DB via overlay FS
    • Syncs code with the host over a shared (local) Git remote (no worktree mess to manage)
    • Devshell commands for quickly dropping into the guest and viewing status of all VMs etc.
    • VMs start in a couple of seconds