diff options
author | K900 <me@0upti.me> | 2024-04-13 15:08:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-13 15:08:19 +0300 |
commit | 02214bedf5f3fad8379f64920870565b6f23f8af (patch) | |
tree | 10eb7d429bcee1299d80c1fbac19c1390b8aeac4 /pkgs/os-specific | |
parent | 764d49ffeab46a7d7abb27b27160d56c34fa754c (diff) | |
parent | 92d4fc3a4ce2a3019300d6727eaac69c07931a63 (diff) |
Merge pull request #303821 from K900/enable-zram-multi-comp
linux/common-config: enable ZRAM_MULTI_COMP where available
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 11 |
1 files 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 22245bc51fbb2..0f1b314df6bd5 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 = { |