How to increase the swap file size on Home Assistant OS

Making some progress. Any further comments should be made over here to prevent derailing this topic.