NixOS test driver: Faster tests, CUDA in the sandbox, and better debugging
The last NixOS test driver workshop at NixCon 2025 was packed with people who were eager to use the NixOS test driver to its full potential in production.
Because this format was so successful, we repeat it with a strong focus also on the latest features that we and others upstreamed in the last 12 months:
Run faster tests with NixOS containers, even with non-KVM infrastructure
Run CUDA in NixOS integration tests
Mix Intel and ARM based VMs in your tests
Debug your tests with minimal configuration changes via VSOCK
If you have tests that sporadically fail in CI, but never on your laptop, the new debugger hook will help you out
Some of the new features require special Nix daemon configuration, which we will also walk you through.
Kierán Meinhardt fell down the Nix rabbit hole in 2018 by way of Haskell. Today, he is a NixOS consultant at Applicative Systems and a long-time regular at the weekly Berlin NixOS meetup. Upstream he is best known for introducing systemd-nspawn container tests to nixpkgs.