fruitbasket/modules/core/postgres.nix

27 lines
496 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 = [
2024-02-02 19:54:06 +01:00
"directus_ese"
2023-08-21 11:48:03 +02:00
"course-management"
2023-12-18 12:06:09 +01:00
"git"
2023-08-21 11:48:03 +02:00
"hedgedoc"
"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
}