modules/nixos/common: increase zram to 100%
This commit is contained in:
parent
942d2e3b8f
commit
ae99cedd4d
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
|||
) pkgs.linuxPackages_latest;
|
||||
|
||||
zramSwap.enable = true;
|
||||
zramSwap.memoryPercent = 100;
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/pull/268121
|
||||
# https://wiki.archlinux.org/title/Zram#Optimizing_swap_on_zram
|
||||
|
|
Loading…
Add table
Reference in a new issue