Skip to content

Commit

Permalink
Increase disko memsize
Browse files Browse the repository at this point in the history
- Increase disko memsize to avoid oom.

Signed-off-by: Ganga Ram <[email protected]>
  • Loading branch information
gngram authored and brianmcgillion committed Dec 17, 2024
1 parent 469e354 commit 40e5ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/disko/disko-ab-partitions.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
};
disko = {
# 8GB is the recommeneded minimum for ZFS, so we are using this for VMs to avoid `cp` oom errors.
memSize = 17384;
memSize = 18432;
imageBuilder = {
extraPostVM = lib.mkIf (config.ghaf.imageBuilder.compression == "zstd") ''
${pkgs.zstd}/bin/zstd --compress $out/*raw
Expand Down

0 comments on commit 40e5ba6

Please sign in to comment.