create databases for dendrite
This commit is contained in:
parent
d9094a73cc
commit
fca31a2caa
1 changed files with 9 additions and 0 deletions
|
@ -1,5 +1,14 @@
|
||||||
_: {
|
_: {
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
ensureDatabases = ["dendrite"];
|
||||||
|
ensureUsers = [
|
||||||
|
{
|
||||||
|
name = "dendrite";
|
||||||
|
ensurePermissions = {
|
||||||
|
"DaTABASE dendrite" = "ALL PRIVILEGES";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue