mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 04:13:55 -05:00
modules: added zram_swap
This commit is contained in:
parent
7fa47aff95
commit
c6319de93f
6
modules/zram_swap.nix
Normal file
6
modules/zram_swap.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
zramSwap.enable = true;
|
||||
zramSwap.memoryPercent = 25;
|
||||
}
|
Loading…
Reference in a new issue