How to increase swap file like on Raspbian OS?

In Raspbian OS I used to increase the swap file in this tutorial.

How can I do the same in Home Assistant OS?

See:

unfortunately I get this error after configuring that add-on and trying to run it:
Image ghcr.io/hassio-addons/ssh/armv7 not exists for addon_a0d7b954_ssh

I was using the official SSH add-on instead: can I do the same with that one?

The add-on does exist for armv7, but ghcr acts up sometimes. You might try later again to install it.

ok, just to be clear I did installed it without problems, configured as advertised, the error appears when I click Run