Use postgresql_16

This commit is contained in:
Lillian Violet 2023-11-26 19:10:42 +01:00
parent 1bf1ad8304
commit 14778e4a20

View file

@ -93,24 +93,22 @@
services.postgresql = {
enable = true;
package = pkgs.postgresql;
# Ensure the database, user, and permissions always exist
ensureDatabases = ["nextcloud" "onlyoffice" "akkoma"];
# ensureUsers = [
# {
# name = "nextcloud";
# ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
# }
# {
# name = "onlyoffice";
# ensurePermissions."DATABASE onlyoffice" = "ALL PRIVILEGES";
# }
# {
# name = "akkoma";
# ensurePermissions."DATABASE akkoma" = "ALL PRIVILEGES";
# }
# ];
ensureUsers = [
{
name = "nextcloud";
ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
}
{
name = "onlyoffice";
ensurePermissions."DATABASE onlyoffice" = "ALL PRIVILEGES";
}
{
name = "akkoma";
ensurePermissions."DATABASE akkoma" = "ALL PRIVILEGES";
}
];
};
services.aria2 = {