2023-08-19 15:05:28 +05:30
|
|
|
_: {
|
|
|
|
services.postgresql = {
|
|
|
|
enable = true;
|
2023-08-19 23:08:18 +05:30
|
|
|
ensureDatabases = ["dendrite"];
|
|
|
|
ensureUsers = [
|
|
|
|
{
|
|
|
|
name = "dendrite";
|
|
|
|
ensurePermissions = {
|
|
|
|
"DaTABASE dendrite" = "ALL PRIVILEGES";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
2023-08-19 15:05:28 +05:30
|
|
|
};
|
|
|
|
}
|