Tutorialmicrovm nixnixossandboxing
NixOS User Builds Ephemeral MicroVMs For Agents
7.1
Relevance Score
A NixOS user outlines a tutorial for creating ephemeral microVMs with microvm.nix to safely run coding agents like Claude without exposing private files. The guide details network setup (192.168.83.1/24), VM declarations, shared workspaces, an 8 GB disk overlay, and hypervisor choices (cloud-hypervisor or QEMU) with 8 vCPUs and 4 GB RAM. Practitioners can reproduce disposable, sandboxed environments to test or run agents.


