From 92d4fc3a4ce2a3019300d6727eaac69c07931a63 Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 13 Apr 2024 15:01:54 +0300 Subject: [PATCH] linux/common-config: enable ZRAM_MULTI_COMP where available --- pkgs/os-specific/linux/kernel/common-config.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 22245bc51fbb..0f1b314df6bd 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -871,11 +871,12 @@ let }; zram = { - ZRAM = module; - ZRAM_WRITEBACK = option yes; - ZSWAP = option yes; - ZPOOL = yes; - ZBUD = option yes; + ZRAM = module; + ZRAM_WRITEBACK = option yes; + ZRAM_MULTI_COMP = whenAtLeast "6.2" yes; + ZSWAP = option yes; + ZPOOL = yes; + ZBUD = option yes; }; brcmfmac = {