summaryrefslogtreecommitdiff
path: root/common.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common.nix')
-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 = [