From fe9d1a92dc312ebd36fed60979718f7c15fdd344 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Wed, 21 Feb 2024 17:53:57 +0100 Subject: [PATCH] `zram` on `picard` --- hosts/picard/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/picard/default.nix b/hosts/picard/default.nix index cd8db46..a087e70 100644 --- a/hosts/picard/default.nix +++ b/hosts/picard/default.nix @@ -108,6 +108,11 @@ driSupport32Bit = true; }; + zramSwap = { + enable = true; + algorithm = "zstd"; + }; + # TODO move away from here (how can the interface name be retrieved programmatically?) networking.interfaces.enp11s0.wakeOnLan = { enable = true;