diff --git a/nixos/modules/testing/test-instrumentation.nix b/nixos/modules/testing/test-instrumentation.nix index 1436e680c7e0..073eeb7e6cbf 100644 --- a/nixos/modules/testing/test-instrumentation.nix +++ b/nixos/modules/testing/test-instrumentation.nix @@ -153,13 +153,10 @@ in # be set. virtualisation = lib.optionalAttrs (options ? virtualisation.qemu) { qemu = { - # Only use a serial console, no TTY. # NOTE: optionalAttrs # test-instrumentation.nix appears to be used without qemu-vm.nix, so - # we avoid defining consoles if not possible. + # we avoid defining attributes if not possible. # TODO: refactor such that test-instrumentation can import qemu-vm - # or declare virtualisation.qemu.console option in a module that's always imported - consoles = [ qemu-common.qemuSerialDevice ]; package = lib.mkDefault pkgs.qemu_test; }; };