Files
omarchycn/default/systemd/zram-generator.conf.d/90-omarchy.conf
T

10 lines
365 B
Plaintext

# Compressed swap in RAM. zstd averages around 3:1, so even a full device
# occupies roughly a third of RAM. Any smaller cap spills reclaim to the disk
# swapfile, which on encrypted installs pages back through LUKS.
[zram0]
zram-size = ram
compression-algorithm = zstd
# Above the pri=0 that omarchy-hibernation-setup gives the disk swapfile.
swap-priority = 100