Increase swapfile for new soquartz config

This commit is contained in:
asonix 2023-07-11 12:18:15 -05:00
parent bb9567630a
commit 36ca280008

View file

@ -325,7 +325,7 @@
set -e set -e
fallocate -l 4G /swapfile fallocate -l 8G /swapfile
chmod 0600 /swapfile chmod 0600 /swapfile
mkswap /swapfile mkswap /swapfile
@ -411,7 +411,7 @@
let let
swapFile = { swapFile = {
device = "/swapfile"; device = "/swapfile";
size = (1024 * 4); size = (1024 * 8);
}; };
in in
if unlockMounts && mountVolumes then [ swapFile ] else [ ]; if unlockMounts && mountVolumes then [ swapFile ] else [ ];