interactive-vm: allow to override virtualisation.memorySize

Users might set this value for building images but than need different
values when they run interactive virtual machines.
This commit is contained in:
Jörg Thalheim authored and mergify[bot] committed 2024-10-05 06:23:52 +00:00
1 parent 574400001b
commit 28c5af1e16
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ in
disko.imageBuilder.imageFormat = "qcow2";
virtualisation.useEFIBoot = config.disko.tests.efi;
virtualisation.memorySize = config.disko.memSize;
virtualisation.memorySize = lib.mkDefault config.disko.memSize;
virtualisation.useDefaultFilesystems = false;
virtualisation.diskImage = null;
virtualisation.qemu.drives = [ rootDisk ] ++ otherDisks;