From 668eb94d435f4781ffdca5668606110d470b0968 Mon Sep 17 00:00:00 2001 From: datsudo <76833632+datsudo@users.noreply.github.com> Date: Thu, 5 Jun 2025 17:16:27 +0800 Subject: [PATCH] enable zram --- system/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/system/configuration.nix b/system/configuration.nix index adc66ef..86a13ac 100644 --- a/system/configuration.nix +++ b/system/configuration.nix @@ -154,5 +154,11 @@ }; }; + zramSwap = { + enable = true; + algorithm = "zstd"; + priority = 5; + }; + system.stateVersion = "24.11"; }