improve pg

This commit is contained in:
XenGi 2026-02-03 21:40:17 +01:00
parent 23c472e0fc
commit 82819b9a38
Signed by: xengi
SSH key fingerprint: SHA256:dM+fLZGsDvyv6kunjE8bGduL24VsCFB4LEOSdmRHdG0
2 changed files with 8 additions and 3 deletions

View file

@ -4,7 +4,7 @@
services = {
postgresql = {
enable = true;
package = pkgs.postgresql_16;
package = pkgs.postgresql_18;
enableJIT = true;
initdbArgs = [
"--locale=C"
@ -13,7 +13,7 @@
};
postgresqlBackup = {
enable = true;
startAt = "*-*-* 09:00:00";
startAt = "@daily";
compression = "zstd";
};
};