Use ensureDBOwnership instead of ensurePermissions

This commit is contained in:
Charlotte Van Petegem 2023-12-24 12:56:47 +01:00
parent b243ca4445
commit e7b4c81f29
No known key found for this signature in database
GPG key ID: 019E764B7184435A
3 changed files with 5 additions and 11 deletions

View file

@ -47,7 +47,7 @@
ensureDatabases = [ "nextcloud" ];
ensureUsers = [{
name = "nextcloud";
ensurePermissions = { "DATABASE nextcloud" = "ALL PRIVILEGES"; };
ensureDBOwnership = true;
}];
};
redis.servers.nextcloud = {