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 = module;
ZSWAP = option yes;
ZBUD = option yes;
ZSMALLOC = module;
ZRAM = module;
ZRAM_WRITEBACK = option yes;
ZSWAP = option yes;
ZBUD = option yes;
ZSMALLOC = module;
};
brcmfmac = {