Unverified Commit b7ac3019 authored by Alois Wohlschlager's avatar Alois Wohlschlager
Browse files

linux: enable zram writeback

Zram needs CONFIG_ZRAM_WRITEBACK in order for writeback configuration
to work. Since there is even a NixOS option (zramSwap.writebackDevice)
for configuring writeback, it should be enabled.
parent 027f36d8
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -680,6 +680,7 @@ let

    zram = {
      ZRAM           = module;
      ZRAM_WRITEBACK = option yes;
      ZSWAP          = option yes;
      ZBUD           = option yes;
      ZSMALLOC       = module;