summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-10-24 20:17:19 +0200
committerChristoph Cullmann <cullmann@kde.org>2023-10-24 20:17:19 +0200
commitd26a580ec8889437050765a517d2bbe4d2e66bcb (patch)
treeb7f3f365dc43f2c76d8bfdea521350019f3f3bea
parent2fc3232ef3592a76dfd557a5d313c31959207e94 (diff)
back to swap to ram
-rw-r--r--common.nix3
1 files changed, 3 insertions, 0 deletions
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 = [