nixos/tests: make sure we use the qemu_test package to provide the Guest Agent

This reduces the closure size for the minimal test by a lot since we no
longer have to build the regular QEMU for even the simplest test.
This commit is contained in:
Andreas Rammhold 2020-10-19 18:03:01 +02:00
parent e127ba7873
commit 8ed57ac916
No known key found for this signature in database
GPG key ID: E432E410B5E48C86

View file

@ -116,6 +116,10 @@ with import ../../lib/qemu-flags.nix { inherit pkgs; };
users.users.root.initialHashedPassword = mkOverride 150 "";
services.xserver.displayManager.job.logToJournal = true;
# Make sure we use the Guest Agent from the QEMU package for testing
# to reduce the closure size required for the tests.
services.qemuGuest.package = pkgs.qemu_test.ga;
};
}