summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--system/linde.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/linde.nix b/system/linde.nix
index a34d5d4e..6d47d676 100644
--- a/system/linde.nix
+++ b/system/linde.nix
@@ -283,6 +283,11 @@ in
     MaxRetentionSec=1 month
   '';
 
+  zramSwap = {
+    enable = true;
+    algorithm = "zstd";
+  };
+
   boot.kernel.sysctl =
     let
       buffer_size = 16 * 1024 * 1024;