aboutsummaryrefslogtreecommitdiff
path: root/hosts/mercury/disks.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/mercury/disks.nix')
-rw-r--r--hosts/mercury/disks.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/mercury/disks.nix b/hosts/mercury/disks.nix
index af6c161..60187b1 100644
--- a/hosts/mercury/disks.nix
+++ b/hosts/mercury/disks.nix
@@ -9,4 +9,11 @@
fsType = "vfat";
options = ["fmask=0022" "dmask=0022"];
};
+
+ zramSwap = {
+ enable = true;
+ priority = 100;
+ algorithm = "lz4";
+ memoryPercent = 50;
+ };
}