summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-04-23 08:32:58 -0400
committerseth <[email protected]>2023-04-23 08:32:58 -0400
commit63425aec0cf15eece34b519d1c0a2fe966480c6b (patch)
tree89cf832dd3fe47d197223b66cbebb5b172a5bdfc
parent25b7874b5d83947b8135b0337d99745dd0f98a52 (diff)
give p-body more swap
-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;
}