wynne: create databases for dendrite

This commit is contained in:
Adithya 2024-07-20 23:16:14 +05:30
parent dcce094081
commit 77845a9ba9
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -16,8 +16,13 @@
host all all 10.10.10.0/24 trust
host all all fd7c:585c:c4ae::0/64 trust
'';
ensureDatabases = [ ];
ensureUsers = [ ];
ensureDatabases = [ "dendrite" ];
ensureUsers = [
{
name = "dendrite";
ensureDBOwnership = true;
}
];
};
};
systemd.services.postgresql.unitConfig.RequiresMountsFor = [ "/mnt/data" ];