about summary refs log tree commit diff
path: root/configurations/varda
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/varda
parent2022-09-14 (diff)
2022-09-14
Diffstat (limited to 'configurations/varda')
-rw-r--r--configurations/varda/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/configurations/varda/default.nix b/configurations/varda/default.nix
index 7efeb61..c0789f5 100644
--- a/configurations/varda/default.nix
+++ b/configurations/varda/default.nix
@@ -77,4 +77,9 @@ with lib; {
       size = 4 * 1024;
     }
   ];
+
+  zramSwap = {
+    enable = true;
+    memoryPercent = 25;
+  };
 }

Consider giving Nix/NixOS a try! <3