Compare commits

..

4 Commits

Author SHA1 Message Date
22994e1c83 fix variable interpolation in service description
All checks were successful
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 10s
Check Nix formatting / Perform Nix format checks (pull_request) Successful in 2m44s
Check Nix flake / Perform Nix flake checks (pull_request) Successful in 8m11s
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2025-04-28 17:15:01 -04:00
fc961578bc add verifier service
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2025-04-28 17:15:01 -04:00
7ddbf55e5a Merge pull request 'move preloading/extensions to nixos-modules setting' (#88) from feature/postgres-settings into main
All checks were successful
Check flake.lock / Check health of `flake.lock` (push) Successful in 8s
Check Nix formatting / Perform Nix format checks (push) Successful in 2m55s
Check Nix flake / Perform Nix flake checks (push) Successful in 9m14s
Reviewed-on: #88
2025-04-28 17:14:44 -04:00
36219546b5 move preloading/extensions to nixos-modules setting
All checks were successful
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 15s
Check Nix formatting / Perform Nix format checks (pull_request) Successful in 2m59s
Check Nix flake / Perform Nix flake checks (pull_request) Successful in 8m30s
2025-04-28 11:33:13 -04:00

View File

@ -19,6 +19,9 @@ in
enable = true;
enableJIT = true;
package = pkgs.postgresql_16;
configurePgStatStatements = true;
enableAllPreloadedLibraries = true;
preloadAllExtensions = true;
identMap = ''
# ArbitraryMapName systemUser DBUser
superuser_map root postgres
@ -68,7 +71,7 @@ in
#random_page_cost = 1.25; # speed of random disk access relative to sequential access (1.0);
# Monitoring;
shared_preload_libraries = "pg_stat_statements,auto_explain"; # per statement resource usage stats & log explain statements for slow queries
#shared_preload_libraries = "pg_stat_statements,auto_explain"; # per statement resource usage stats & log explain statements for slow queries
track_io_timing = "on"; # measure exact block IO times;
track_functions = "pl"; # track execution times of pl-language procedures if any;
# Replication;