fruitbasket/modules/postgres.nix

21 lines
370 B
Nix

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