summaryrefslogtreecommitdiff
path: root/systems/glados/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-02-11 02:45:20 -0500
committerseth <[email protected]>2024-02-11 02:45:20 -0500
commit055b48c798039558e2ffde83b589ef6856917bbf (patch)
tree5caf84a87eaa6a45cdf988586802dada19a2fffb /systems/glados/default.nix
parentdacdc6dc5680444d5a31c0c1b3f5a9998682316e (diff)
nixos/zram: init
Diffstat (limited to 'systems/glados/default.nix')
-rw-r--r--systems/glados/default.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/systems/glados/default.nix b/systems/glados/default.nix
index 4f8af01..101bf2a 100644
--- a/systems/glados/default.nix
+++ b/systems/glados/default.nix
@@ -21,6 +21,7 @@
traits = {
containers.enable = true;
tailscale.enable = true;
+ zram.enable = true;
};
security.tpm2 = {
@@ -48,11 +49,4 @@
};
system.stateVersion = "23.11";
-
- zramSwap = {
- enable = true;
- algorithm = "zstd";
- swapDevices = 1;
- memoryPercent = 50;
- };
}