fruitbasket/modules/core/postgres.nix

28 lines
508 B
Nix
Raw Normal View History

2024-03-11 22:49:12 +01:00
{ ... }:
2023-08-21 11:40:56 +02:00
{
# automatically back up all databases
services.postgresqlBackup = {
enable = true;
location = "/var/lib/backup/postgresql";
2023-08-21 11:48:03 +02:00
databases = [
"course-management"
2023-12-18 12:06:09 +01:00
"git"
"grafana"
2023-08-21 11:48:03 +02:00
"hedgedoc"
"keycloak"
2023-08-21 11:48:03 +02:00
"matrix-synapse"
"mautrix-telegram"
"mediawiki"
"nextcloud"
"postgres"
"sogo"
"vaultwarden"
2023-09-14 16:03:29 +02:00
"mailman"
2023-12-18 12:06:09 +01:00
"mailman-web"
2023-11-29 23:29:59 +01:00
"zammad"
2023-08-21 11:48:03 +02:00
];
2023-08-21 11:40:56 +02:00
};
services.postgresql.settings.max_connections = 1000;
2023-08-21 11:40:56 +02:00
}