create databases for dendrite

This commit is contained in:
Adithya 2023-08-19 23:08:18 +05:30
parent d9094a73cc
commit fca31a2caa
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -1,5 +1,14 @@
_: {
services.postgresql = {
enable = true;
ensureDatabases = ["dendrite"];
ensureUsers = [
{
name = "dendrite";
ensurePermissions = {
"DaTABASE dendrite" = "ALL PRIVILEGES";
};
}
];
};
}