From ea3344e9ff60e988285df6c1fa3c8ced30181d71 Mon Sep 17 00:00:00 2001 From: tuxdotrs Date: Sun, 27 Oct 2024 16:18:05 +0530 Subject: [PATCH] perf: decrease swappiness --- hosts/arcturus/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/arcturus/default.nix b/hosts/arcturus/default.nix index 2c0b867..6beff0e 100644 --- a/hosts/arcturus/default.nix +++ b/hosts/arcturus/default.nix @@ -57,6 +57,10 @@ }; boot = { + kernel.sysctl = { + "vm.swappiness" = 10; + }; + kernelPackages = pkgs.linuxPackages_zen; initrd.systemd.enable = true;