From 65910a0dcccc6d722bd3da6fdcefef678a1ec4b1 Mon Sep 17 00:00:00 2001 From: Lgmrszd Date: Thu, 9 Nov 2023 15:06:06 +0300 Subject: [PATCH] Enable zram --- configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configuration.nix b/configuration.nix index b4bf757..c541158 100644 --- a/configuration.nix +++ b/configuration.nix @@ -317,6 +317,12 @@ }; programs.ssh.startAgent = true; + zramSwap = { + enable = true; + # swapDevices = 2; + # writebackDevice = secrets.drive-ids.volumes.swap; + }; + # List services that you want to enable: # services.peroxide.enable = true;