This commit is contained in:
Lillian Violet 2023-11-25 14:49:56 +01:00
parent 4ade46b204
commit 7846dceb8a
2 changed files with 13 additions and 2 deletions

View file

@ -29,9 +29,16 @@
name = "GLaDTheresCake Akkoma"; name = "GLaDTheresCake Akkoma";
email = "akkoma@gladtherescake.eu"; email = "akkoma@gladtherescake.eu";
notify_email = "no-reply@akkoma.gladtherescake.eu"; notify_email = "no-reply@akkoma.gladtherescake.eu";
emails.mailer = {
enabled = true;
adapter = "Swoosh.Adapters.Sendmail";
cmd_path = "/run/wrappers/bin/sendmail";
cmd_args = "-N delay,failure,success";
qmail = true;
};
description = "Lillian's Akkoma server!"; description = "Lillian's Akkoma server!";
languages = ["en" "nl"]; languages = ["en" "nl"];
registrations_open = true; registrations_open = false;
max_pinned_statuses = 10; max_pinned_statuses = 10;
cleanup_attachments = true; cleanup_attachments = true;
}; };

View file

@ -94,7 +94,7 @@
enable = true; enable = true;
# Ensure the database, user, and permissions always exist # Ensure the database, user, and permissions always exist
ensureDatabases = ["nextcloud" "onlyoffice"]; ensureDatabases = ["nextcloud" "onlyoffice" "akkoma"];
ensureUsers = [ ensureUsers = [
{ {
name = "nextcloud"; name = "nextcloud";
@ -104,6 +104,10 @@
name = "onlyoffice"; name = "onlyoffice";
ensurePermissions."DATABASE onlyoffice" = "ALL PRIVILEGES"; ensurePermissions."DATABASE onlyoffice" = "ALL PRIVILEGES";
} }
{
name = "akkoma";
ensurePermissions."DATABASE akkoma" = "ALL PRIVILEGES";
}
]; ];
}; };