summary refs log tree commit diff stats
path: root/modules/hardware
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hardware')
-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 298eb66a..0a61790a 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" ];