# Pieces shared by the VM tests. { # `fail` in a test script also passes on "command not found", so make sure # the tools the scripts rely on are really there. tools = { pkgs, ... }: { environment.systemPackages = with pkgs; [ dnsutils netcat-openbsd curl tcpdump wireguard-tools ]; }; # `driverInteractive` uses the full QEMU, which would open a window per VM; # `nix run .#lab` wants the consoles in the terminal instead. interactiveDefaults.virtualisation.qemu.options = [ "-display" "none" ]; }