From 5ec90e37eb4c0fba65dd478a611f5d82f73ea900 Mon Sep 17 00:00:00 2001 From: Jakob Lechner Date: Fri, 24 May 2024 14:31:31 +0200 Subject: [PATCH] Enable zram --- hosts/copper/configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/copper/configuration.nix b/hosts/copper/configuration.nix index 7c6ca88..83b3404 100644 --- a/hosts/copper/configuration.nix +++ b/hosts/copper/configuration.nix @@ -8,6 +8,13 @@ hostName = "copper"; }; + zramSwap = { + enable = true; + algorithm = "zstd"; + memoryPercent = 60; + priority = 1; + }; + jalr = { bootloader = "systemd-boot"; bluetooth.enable = true;