diff options
author | K900 <me@0upti.me> | 2024-04-13 15:01:54 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2024-04-13 15:05:06 +0300 |
commit | 92d4fc3a4ce2a3019300d6727eaac69c07931a63 (patch) | |
tree | 8bf3eb828317539f665504fd29f7d8c32edca7e6 /pkgs/os-specific | |
parent | 14b13525fc3cdf076743a89ad044ec46e73c8ed2 (diff) |
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 = { |