mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
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:
1 parent
574400001b
commit
28c5af1e16
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user