summaryrefslogtreecommitdiff
path: root/systems/glados
diff options
context:
space:
mode:
Diffstat (limited to 'systems/glados')
-rw-r--r--systems/glados/boot.nix7
-rw-r--r--systems/glados/default.nix8
2 files changed, 1 insertions, 14 deletions
diff --git a/systems/glados/boot.nix b/systems/glados/boot.nix
index a7ac843..9fc716c 100644
--- a/systems/glados/boot.nix
+++ b/systems/glados/boot.nix
@@ -17,13 +17,6 @@
kernelParams = ["amd_pstate=active"];
- kernel.sysctl = {
- "vm.swappiness" = 100;
- "vm.vfs_cache_pressure" = 500;
- "vm.dirty_background_ratio" = 1;
- "vm.dirty_ratio" = 50;
- };
-
loader.systemd-boot.enable = lib.mkForce false;
lanzaboote = {
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;
- };
}