From aaf29bcfca1e3335ae0191b90850951fa07c0b9c Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sat, 10 Jun 2023 20:54:24 -0400 Subject: [PATCH] Enable jit on postgres for pendulum --- machines/pendulum/automation.nix | 2 +- machines/pendulum/configuration.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/machines/pendulum/automation.nix b/machines/pendulum/automation.nix index 5f2b099..dd463ce 100644 --- a/machines/pendulum/automation.nix +++ b/machines/pendulum/automation.nix @@ -1,6 +1,6 @@ { config, lib, pkgs, ... }: let - path = with pkgs; [ jq postgresql_15 matrix-synapse-tools.synadm ]; + path = with pkgs; [ jq postgresql_15_jit matrix-synapse-tools.synadm ]; environment = { HOME = "/home/nathan"; XDG_CONFIG_DIRS = diff --git a/machines/pendulum/configuration.nix b/machines/pendulum/configuration.nix index dfa6031..28d774d 100644 --- a/machines/pendulum/configuration.nix +++ b/machines/pendulum/configuration.nix @@ -59,7 +59,7 @@ system.stateVersion = "23.05"; # Postgres version and tuning services.postgresql = { - package = pkgs.postgresql_15; + package = pkgs.postgresql_15_jit; settings = { shared_buffers = "4GB"; effective_cache_size = "8GB";