summaryrefslogtreecommitdiff
path: root/nix/systems/affinity
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2026-01-30 20:50:09 -0800
committerPreston Pan <ret2pop@gmail.com>2026-01-30 20:50:09 -0800
commit6de29052077fa51ccaa452ad7432dd64dc806bd2 (patch)
tree5650c92cc82262941c183d782e517c13d1c488d2 /nix/systems/affinity
parentd43c1e768c0102387a7c1167b476bb0af2d21987 (diff)
add more stuff to my monorepo
Diffstat (limited to 'nix/systems/affinity')
-rw-r--r--nix/systems/affinity/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nix/systems/affinity/default.nix b/nix/systems/affinity/default.nix
index 72057dd..9918089 100644
--- a/nix/systems/affinity/default.nix
+++ b/nix/systems/affinity/default.nix
@@ -5,6 +5,11 @@
../../disko/drive-simple.nix
];
config = {
+ zramSwap = {
+ enable = true;
+ algorithm = "zstd";
+ memoryPercent = 50; # Creates ~16GB of compressed swap space
+ };
monorepo = {
vars.device = "/dev/nvme0n1";
profiles = {