mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Boot] zswap: use z3fold allocator by default
Much better than zbud which is limited to a 2x compression ratio.
This commit is contained in:
parent
4094656a6e
commit
0088bd9cbf
1 changed files with 1 additions and 0 deletions
1
boot.nix
1
boot.nix
|
|
@ -9,6 +9,7 @@ let
|
|||
MODULE_COMPRESS_XZ n
|
||||
MODULE_COMPRESS_ZSTD y
|
||||
ZSWAP_COMPRESSOR_DEFAULT_ZSTD y
|
||||
ZSWAP_ZPOOL_DEFAULT_Z3FOLD y # Use more-efficient z3fold by default (especially useful with Zstd which has a high compression ratio.)
|
||||
FW_LOADER_COMPRESS_ZSTD y
|
||||
ZRAM_DEF_COMP_ZSTD y
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue