mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
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:
parent
027f36d89f
commit
b7ac30197b
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user