interactive-vm: override forceImportRoot

Some users will have `boot.zfs.forceImportRoot = false;` in their
configurations which conflicts with `boot.zfs.forceImportAll = true;`,
so we set it to `true` to match.
This commit is contained in:
Michael Hoang authored and mergify[bot] committed 2024-09-28 13:50:34 +00:00
1 parent 67dc29be30
commit b709e1cc33
1 file changed
+1
+1
View File
@@ -64,6 +64,7 @@ in
virtualisation.qemu.drives = [ rootDisk ] ++ otherDisks;
boot.zfs.devNodes = "/dev/disk/by-uuid"; # needed because /dev/disk/by-id is empty in qemu-vms
boot.zfs.forceImportAll = true;
boot.zfs.forceImportRoot = lib.mkForce true;
system.build.vmWithDisko = hostPkgs.writers.writeDashBin "disko-vm" ''
set -efux