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.
This commit is contained in:
Alois Wohlschlager 2023-05-16 19:05:33 +02:00
parent 027f36d89f
commit b7ac30197b
No known key found for this signature in database
GPG Key ID: E0F59EA5E5216914

View File

@ -679,10 +679,11 @@ let
}; };
zram = { zram = {
ZRAM = module; ZRAM = module;
ZSWAP = option yes; ZRAM_WRITEBACK = option yes;
ZBUD = option yes; ZSWAP = option yes;
ZSMALLOC = module; ZBUD = option yes;
ZSMALLOC = module;
}; };
brcmfmac = { brcmfmac = {