you need a swap file, a swap subvolume, or a swap partition that’s RAM + 50%, on account of zram. then you need systemd scripts that disable zram and enable swap on suspend and do the reverse on resume. also, you need some selinux tuning to allow you to write to said file. you have a detailed howto in Fedora Magazine.
Setting up a swap file on top of using swap-to-zram for Hibernation purposes? (Fedora 40)
So here’s my situation:...