From c2ecb970df59abf6be254caa137ca951527369bb Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Tue, 26 Aug 2025 16:33:12 -0400 Subject: [PATCH] nixos/zram: zramSwap.memoryPercent fix description --- nixos/modules/config/zram.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/config/zram.nix b/nixos/modules/config/zram.nix index 44db5ce9d641..15f626c3f09c 100644 --- a/nixos/modules/config/zram.nix +++ b/nixos/modules/config/zram.nix @@ -63,7 +63,8 @@ in type = with lib.types; nullOr int; description = '' Maximum total amount of memory (in bytes) that can be stored in the zram - swap devices. + swap devices. If set, the smaller one of this option and memoryPercent would + be used. This doesn't define how much memory will be used by the zram swap devices. ''; };