summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/p-body/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/p-body/default.nix b/hosts/p-body/default.nix
index 4e3d7b7..665ac64 100644
--- a/hosts/p-body/default.nix
+++ b/hosts/p-body/default.nix
@@ -133,6 +133,12 @@
};
};
+ swapDevices = [
+ {
+ device = "/swapfile";
+ }
+ ];
+
system.stateVersion = "22.11";
users.users = let
@@ -149,4 +155,6 @@
inherit openssh;
};
};
+
+ zramSwap.enable = true;
}