Open no windows for the interactive lab VMs

driverInteractive uses the full QEMU build, which opens a GUI window per VM.
Pass -display none for the interactive nodes so `nix run .#lab` stays in the
terminal.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-27 14:35:23 +01:00
co-authored by Claude Sonnet 5.5
parent dcef7665b4
commit 0ba4d49766
+4
View File
@@ -14,6 +14,10 @@ pkgs.testers.runNixOSTest {
defaults.imports = [ tools ];
# `driverInteractive` uses the full QEMU, which would open a window per VM;
# `nix run .#lab` wants the consoles in the terminal instead.
interactive.defaults.virtualisation.qemu.options = [ "-display" "none" ];
nodes = {
# Plays the ISP: hands out one WAN lease, answers DNS, and serves a page
# that echoes the client address it sees (to prove NAT happens).