From 2e4b2e8a80de59da98bc7a15dbec4eb50e92b324 Mon Sep 17 00:00:00 2001 From: Jet Pham Date: Sun, 8 Mar 2026 19:04:38 -0700 Subject: [PATCH] fix: remove swap because I have alot of mem --- configuration.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index f12f59e..9440909 100644 --- a/configuration.nix +++ b/configuration.nix @@ -206,8 +206,7 @@ # RAM optimizations for 96GB system boot.kernel.sysctl = { - "vm.swappiness" = 0; # Never swap to disk - "vm.vfs_cache_pressure" = 50; # Keep more filesystem cache in RAM +"vm.vfs_cache_pressure" = 50; # Keep more filesystem cache in RAM "vm.dirty_ratio" = 15; # Write to disk when 15% of RAM is dirty "vm.dirty_background_ratio" = 5; # Start writing when 5% dirty };