nixosTests.qemu-vm-external-disk-image: fix test

This test uses make-disk-image.nix and uses a bootloader to boot off the
resulting disk image, which requires the NixOS config to be switchable.
This commit is contained in:
Jared Baur 2025-06-26 13:41:31 -07:00
parent 2f8b38cfb2
commit 73d9963492
No known key found for this signature in database

View File

@ -25,6 +25,8 @@ let
"/".device = rootFsDevice;
};
system.switch.enable = true;
system.build.diskImage = import ../lib/make-disk-image.nix {
inherit config lib pkgs;
label = rootFslabel;