From 3ac9bba7393f3ca0f8fbe1b5d23aa3e41ccca69f Mon Sep 17 00:00:00 2001 From: notohh Date: Thu, 19 Oct 2023 02:47:06 -0400 Subject: [PATCH] arashi: increase kernel.shmax for pgres --- hosts/arashi/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/arashi/default.nix b/hosts/arashi/default.nix index f3f675b..7bad61f 100644 --- a/hosts/arashi/default.nix +++ b/hosts/arashi/default.nix @@ -3,8 +3,6 @@ ./hardware-configuration.nix ./services ../../modules - ../../modules/prometheus/exporters/redis.nix - ../../modules/prometheus/exporters/postgres.nix ]; boot.loader = { @@ -16,6 +14,10 @@ }; }; + boot.kernel.sysctl = { + "kernel.shmmax" = 100663296; + }; + networking = { hostName = "arashi"; };