summaryrefslogtreecommitdiff
path: root/configurations/manwe/default.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2022-09-14 23:25:01 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-14 23:25:01 +0300
commitd4a517f4b4ce067702248fdc944dca3f20df7791 (patch)
treec623589872698936620b81dc89da75cdbb8933f8 /configurations/manwe/default.nix
parent6a02d658dde1fd5e9d9e84478796b6881b236578 (diff)
2022-09-14
Diffstat (limited to 'configurations/manwe/default.nix')
-rw-r--r--configurations/manwe/default.nix11
1 files changed, 10 insertions, 1 deletions
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;
+ };
}