summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/hardware/bare-metal.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/hardware/bare-metal.nix b/modules/hardware/bare-metal.nix
index 298eb66..0a61790 100644
--- a/modules/hardware/bare-metal.nix
+++ b/modules/hardware/bare-metal.nix
@@ -16,6 +16,10 @@
     "net.ipv4.tcp_congestion_control" = "illinois";
   };
 
+  zramSwap = {
+    enable = true;
+    algorithm = "zstd";
+  };
   boot.tmpOnTmpfs = true;
 
   boot.kernelModules = [ "bfq" ];