about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorNick Bathum <nickbathum@gmail.com>2023-02-24 10:36:31 -0500
committerNick Bathum <nickbathum@gmail.com>2023-02-26 12:08:58 -0500
commit59462da91769ff9d089a753a26ba77387349441d (patch)
tree1db60a51553431706f619060e3ae3ba397a669b7 /doc
parent32a93b58b2eab85e31cff79662c4e6056f18d9fd (diff)
nixos/lib/make-disk-image: expose memSize parameter
Generating large disk images can fail from out-of-memory in vm-run.
Diffstat (limited to 'doc')
-rw-r--r--doc/builders/images/makediskimage.section.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/builders/images/makediskimage.section.md b/doc/builders/images/makediskimage.section.md
index 833a6461e57bb..c4566e7531081 100644
--- a/doc/builders/images/makediskimage.section.md
+++ b/doc/builders/images/makediskimage.section.md
@@ -101,6 +101,7 @@ in
     diskSize = "auto";
     additionalSpace = "0M"; # Defaults to 512M.
     copyChannel = false;
+    memSize = 2048; # Qemu VM memory size in megabytes. Defaults to 1024M.
   }
 ```