summaryrefslogtreecommitdiff
path: root/hosts/glados/boot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/glados/boot.nix')
-rw-r--r--hosts/glados/boot.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/glados/boot.nix b/hosts/glados/boot.nix
index 6ff35ba..8e00b5a 100644
--- a/hosts/glados/boot.nix
+++ b/hosts/glados/boot.nix
@@ -16,6 +16,13 @@ in {
boot = {
kernelPackages = pinned-kernel.pkgs.linuxPackages_6_1;
+ kernel.sysctl = {
+ "vm.swappiness" = 100;
+ "vm.vfs_cache_pressure" = 500;
+ "vm.dirty_background_ratio" = 1;
+ "vm.dirty_ratio" = 50;
+ };
+
bootspec.enable = true;
loader.systemd-boot.enable = lib.mkForce false;