mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 13:33:28 +01:00
make-disk-image: make memSize configurable per disk
Sometimes the VM builder can run out of memory and fail to allocate memory when installing the system toplevel
This commit is contained in:
1 parent
169e99dc3d
commit
bd8fbc3f27
2 files changed
+8
-1
No files matched your search
@@ -65,7 +65,7 @@ in
|
||||
{
|
||||
buildInputs = dependencies;
|
||||
inherit preVM postVM QEMU_OPTS;
|
||||
memSize = 1024;
|
||||
memSize = nixosConfig.config.disko.memSize;
|
||||
}
|
||||
(partitioner + installer));
|
||||
impure = diskoLib.writeCheckedBash { inherit checked pkgs; } name ''
|
||||
|
||||
Reference in new issue
Block a user