mirror of
https://github.com/dali99/nixos-matrix-modules.git
synced 2025-09-10 04:53:48 +02:00
migrate to ensureDBOwnership
This commit is contained in:
@@ -89,7 +89,7 @@ in
|
|||||||
ensureDatabases = [ "matrix-sliding-sync" ];
|
ensureDatabases = [ "matrix-sliding-sync" ];
|
||||||
ensureUsers = [ rec {
|
ensureUsers = [ rec {
|
||||||
name = "matrix-sliding-sync";
|
name = "matrix-sliding-sync";
|
||||||
ensurePermissions."DATABASE \"${name}\"" = "ALL PRIVILEGES";
|
ensureDBOwnership = true;
|
||||||
} ];
|
} ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user