Use postgresql_16
This commit is contained in:
parent
7e99b1fb16
commit
c73e926728
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue