I am using HAOS (x86-64) on a re-purposed thin client with 16G of RAM and 15G SSD. /mn/data contains a 5G swap file, which, obviously, is not needed and wastes disk space (fills SSD to 100%).
I can log in as root and delete/unmount the swap file to regain space but it is recreated on reboot.
Is there a way to configure the system to disable SWAP? Alternatively, if it cannot be disabled, can it be set to something negligible, say, 32M?
To anyone still looking to disable swap, here is a workaround suggested in response to the related issue I submitted on Home Assistant OS (HAOS) – it was closed won't fix: