From be30e0c498a40d1f285a82d8ca193cd4cfc31717 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 3 Dec 2024 09:28:52 -0500 Subject: [PATCH] hw/gaming: use lz4 for zram swap --- hwModules/common/gaming/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hwModules/common/gaming/default.nix b/hwModules/common/gaming/default.nix index 3428b3a7..34d5dc8c 100644 --- a/hwModules/common/gaming/default.nix +++ b/hwModules/common/gaming/default.nix @@ -39,4 +39,6 @@ ## HDD ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq" ''; + + zramSwap.algorithm = "lz4"; }