Use postgresql_16

This commit is contained in:
Lillian-Violet 2023-11-26 19:10:42 +01:00
parent 7e99b1fb16
commit c73e926728

View file

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