{ config, ... }:

{

  #---------------------------------------------------------------------
  # Enable memory compression for (28GB) system
  # Faster processing and less SSD usage
  #---------------------------------------------------------------------
  zramSwap.enable = true;
  zramSwap.memoryPercent = 20;

  # 28GB
  zramSwap.memoryMax = 30064771072;

}