fix postgres

This commit is contained in:
XenGi 2026-02-14 01:50:17 +01:00
parent af01cffa4d
commit 8ac2d8a2dd
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg
2 changed files with 9 additions and 22 deletions

View file

@ -1,21 +0,0 @@
{ pkgs, lib, ... }:
{
services = {
postgresql = {
enable = true;
package = pkgs.postgresql_18;
enableJIT = true;
initdbArgs = [
"--locale=C"
"--encoding=UTF8"
];
settings.listen_addresses = lib.mkDefault "*";
};
postgresqlBackup = {
enable = true;
startAt = "@daily";
compression = "zstd";
};
};
}