From f07e20dd4483bb7233b0da11e259f24c15b53563 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Thu, 23 Nov 2023 21:33:39 +0100 Subject: [PATCH] Styx: Install ollama --- home/hosts/Styx.nix | 1 + system/nixos/postgresql.nix | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/home/hosts/Styx.nix b/home/hosts/Styx.nix index 45d70db..55aedbe 100644 --- a/home/hosts/Styx.nix +++ b/home/hosts/Styx.nix @@ -62,6 +62,7 @@ mtr nix-tree nurl + ollama ouch parallel q diff --git a/system/nixos/postgresql.nix b/system/nixos/postgresql.nix index 18962c9..291f7f2 100644 --- a/system/nixos/postgresql.nix +++ b/system/nixos/postgresql.nix @@ -3,7 +3,8 @@ { services.postgresql = { enable = true; - package = pkgs.postgresql_15; + package = pkgs.postgresql_15_jit; + enableJIT = true; enableTCPIP = true; @@ -11,6 +12,10 @@ full_page_writes = "off"; wal_init_zero = "off"; wal_recycle = "off"; + + track_activities = "on"; + track_counts = "on"; + autovacuum = "on"; }; authentication = ''