Swap, ZRAM, Zswap and Hibernate on NixOS
Summary
The post discusses configuring swap, ZRAM, ZSWAP, and Hibernate on NixOS for desktop/workstation use. It covers how to choose between swap partitions and swap files for hibernation, the evolution of NixOS support (including boot.zswap and swappiness tuning), and a practical note on correcting earlier choices (removing zramSwap in favor of zswap).