Use postgresql_16
This commit is contained in:
parent
1bf1ad8304
commit
14778e4a20
|
@ -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