about summary refs log tree commit diff
path: root/configurations/melian
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/melian
parent2022-09-14 (diff)
2022-09-14
Diffstat (limited to '')
-rw-r--r--configurations/melian/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/configurations/melian/default.nix b/configurations/melian/default.nix
index 94e799e..08cbc8c 100644
--- a/configurations/melian/default.nix
+++ b/configurations/melian/default.nix
@@ -60,6 +60,11 @@ with lib; {
     }
   ];
 
+  zramSwap = {
+    enable = true;
+    memoryPercent = 25;
+  };
+
   boot = {
     kernelPackages = mkForce pkgs.linuxPackages_xanmod_latest;
 

Consider giving Nix/NixOS a try! <3