clan-infra/modules/web01/gitea/postgresql.nix

10 lines
249 B
Nix
Raw Permalink Normal View History

2023-07-13 09:05:07 +00:00
{ pkgs, ... }: {
services.postgresql.enable = true;
services.postgresql.package = pkgs.postgresql_14;
services.postgresql.settings = {
max_connections = "300";
shared_buffers = "80MB";
};
services.postgresqlBackup.enable = true;
}