format tree
This commit is contained in:
parent
24547fcd6c
commit
92c55595d0
43 changed files with 476 additions and 357 deletions
hosts/build03
|
@ -1,9 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.postgresql.ensureUsers = [{
|
||||
name = "telegraf";
|
||||
}];
|
||||
services.postgresql.ensureUsers = [ { name = "telegraf"; } ];
|
||||
|
||||
systemd.services.postgresql.postStart = ''
|
||||
$PSQL -tAc 'GRANT pg_read_all_stats TO telegraf' -d postgres
|
||||
|
@ -53,7 +51,6 @@
|
|||
max_wal_size = "2 GB";
|
||||
min_wal_size = "1 GB";
|
||||
|
||||
|
||||
# WAL writing
|
||||
wal_compression = "on";
|
||||
wal_buffers = -1; # auto-tuned by Postgres till maximum of segment size (16MB by default)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue