bekkalokk/roundcube: add postgres password

This commit is contained in:
2024-10-12 23:03:13 +02:00
parent 4fbd823be6
commit aa71d497f1
2 changed files with 11 additions and 3 deletions

View File

@@ -6,6 +6,11 @@ let
domain = "webmail.pvv.ntnu.no";
in
{
sops.secrets."roundcube/postgres_password" = {
owner = "nginx";
group = "nginx";
};
services.roundcube = {
enable = true;
@@ -22,6 +27,7 @@ in
database = {
host = "postgres.pvv.ntnu.no";
passwordFile = config.sops.secrets."roundcube/postgres_password".path;
};
extraConfig = ''