Under the Hood of the NixOS Test Driver: Architecture, Containers, and Hardware Passthrough
summary
A test driver now separates the test frontend from the virtualization backend so tests map the host Nix store read‑only into sandboxes instead of building VM images, cutting runtimes to seconds (a BitTorrent scenario runs under 2 minutes; two-container boot is 2.4s). It adds systemd‑nspawn container support to combine containers and QEMU, enables GPU/CUDA by mapping /dev/nvidia into containers, offers VSOCK interactive mode and remote debug hooks that freeze failing CI builders for live inspection.
AI-written summary · about
