From d4a517f4b4ce067702248fdc944dca3f20df7791 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Wed, 14 Sep 2022 23:25:01 +0300 Subject: 2022-09-14 --- configurations/manwe/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'configurations/manwe') diff --git a/configurations/manwe/default.nix b/configurations/manwe/default.nix index 2599d78..47a2040 100644 --- a/configurations/manwe/default.nix +++ b/configurations/manwe/default.nix @@ -93,5 +93,14 @@ with lib; { }; }; - swapDevices = [{device = "/dev/sda3";}]; + swapDevices = [ + { + device = "/dev/sda3"; + } + ]; + + zramSwap = { + enable = true; + memoryPercent = 25; + }; } -- cgit v1.2.3