fruitbasket/modules/core/postgres.nix
2024-09-26 20:11:04 +02:00

28 lines
508 B
Nix

{ ... }:
{
# automatically back up all databases
services.postgresqlBackup = {
enable = true;
location = "/var/lib/backup/postgresql";
databases = [
"course-management"
"git"
"grafana"
"hedgedoc"
"keycloak"
"matrix-synapse"
"mautrix-telegram"
"mediawiki"
"nextcloud"
"postgres"
"sogo"
"vaultwarden"
"mailman"
"mailman-web"
"zammad"
];
};
services.postgresql.settings.max_connections = 1000;
}