- Add the "resume" hook after "lvm" in /etc/mkinitcpio.conf
https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate#Configure_the_initramfs
-
Redo the ramdisk for all your kernels
mkinitcpio -p linux-libre{-lts,-grsec}
-
Edit the Libreboot image to include the resume=</dev/mapper/lvm-partition> kernel parameter in grub
https://libreboot.org/docs/gnulinux/encrypted_parabola.html
-
Set a lower swappiness value so the swap doesn't get abused by the system
/etc/sysctl.d/99-sysctl.conf
vm.swappiness=10