diff --git a/home/scripts/noita-helper.sh b/home/scripts/noita-helper.sh index e1b604d..a6e31fc 100644 --- a/home/scripts/noita-helper.sh +++ b/home/scripts/noita-helper.sh @@ -11,7 +11,7 @@ restic backup -q "$SAVE_DIR" echo "Backup done" echo "Mounting tmpfs for save folder..." -sudo mount -o size=2G -t tmpfs none "$SAVE_DIR" +sudo mount -o size=2G,noswap -t tmpfs none "$SAVE_DIR" echo "Restoring initial backup..." restic restore "latest:$SAVE_DIR" --target "$SAVE_DIR"