From 83740051ea77b9f8a8eae4322db1955bd84f651e Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 23 Jun 2024 09:45:09 -0400 Subject: [PATCH] phone: Enable 100% zram Shouldn't break anything. This is mostly a safeguard to ensure that systemd didn't SIGSEGV and freeze last time due to memory concerns. --- modules/system.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system.nix b/modules/system.nix index a40b7411..c51b9e34 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -105,7 +105,7 @@ in }; }; - zramSwap = mkIf (!phone) { + zramSwap = { enable = true; memoryPercent = 100; };