Add noswap to noita-helper mount opts
All checks were successful
Run nix flake check / flake-check (push) Successful in 1m54s
Periodic flake update / flake-update (push) Successful in 2m10s

This commit is contained in:
Torjus Håkestad 2025-05-05 11:48:21 +02:00
parent 35fcb0db67
commit a9e6b6dfb4
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -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"