fruitbasket/modules/core/postgres.nix

27 lines
496 B
Nix

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