about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/common-config.nix
diff options
context:
space:
mode:
authorBernardo Meurer <bernardo@meurer.org>2023-05-17 11:34:48 -0400
committerGitHub <noreply@github.com>2023-05-17 11:34:48 -0400
commit6e4fbfe81a9471cf83d09a3d411d465ed2158546 (patch)
tree2be206f9be9a6bea90d45442cab288bea770dfb4 /pkgs/os-specific/linux/kernel/common-config.nix
parentab53f08df4fdc9cceb93b128678b5e57846360d0 (diff)
parentb7ac30197b87876f6ec81917fae19f307e187499 (diff)
Merge pull request #232274 from alois31/zram-writeback
Diffstat (limited to 'pkgs/os-specific/linux/kernel/common-config.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 3520f1bd5cfc0..6b1a7d127a954 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -679,10 +679,11 @@ let
     };
 
     zram = {
-      ZRAM     = module;
-      ZSWAP    = option yes;
-      ZBUD     = option yes;
-      ZSMALLOC = module;
+      ZRAM           = module;
+      ZRAM_WRITEBACK = option yes;
+      ZSWAP          = option yes;
+      ZBUD           = option yes;
+      ZSMALLOC       = module;
     };
 
     brcmfmac = {