From d26a580ec8889437050765a517d2bbe4d2e66bcb Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Tue, 24 Oct 2023 20:17:19 +0200 Subject: [PATCH] back to swap to ram --- common.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common.nix b/common.nix index 176ec2a..9ea74f1 100644 --- a/common.nix +++ b/common.nix @@ -44,6 +44,9 @@ in # setup the console stuff early console.earlySetup = true; + # swap to RAM + zramSwap.enable = true; + # keep some stuff persistent environment.persistence."/nix/persistent" = { directories = [