about summary refs log tree commit diff
path: root/configurations/yavanna
diff options
context:
space:
mode:
Diffstat (limited to 'configurations/yavanna')
-rw-r--r--configurations/yavanna/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/configurations/yavanna/default.nix b/configurations/yavanna/default.nix
index d390e40..aa3118e 100644
--- a/configurations/yavanna/default.nix
+++ b/configurations/yavanna/default.nix
@@ -68,4 +68,9 @@ with lib; {
       size = 4 * 1024;
     }
   ];
+
+  zramSwap = {
+    enable = true;
+    memoryPercent = 25;
+  };
 }

Consider giving Nix/NixOS a try! <3