nixosTests.grow-partition: fix test

The grow-partition test uses a bootloader installed on the disk image
resulting from `make-disk-image.nix`, which requires that the nixos
config is "switchable".
This commit is contained in:
Jared Baur 2024-12-20 12:59:26 -08:00
parent bae7a7ac67
commit 831ccafadf
No known key found for this signature in database

View file

@ -32,6 +32,9 @@ let
"/".device = rootFsDevice;
};
# Needed for installing bootloader
system.switch.enable = true;
system.build.diskImage = import ../lib/make-disk-image.nix {
inherit config lib pkgs;
label = rootFslabel;