add a defaultText

This commit is contained in:
Taeer Bar-Yam 2022-02-23 16:19:10 -05:00
parent 6157673df0
commit 13e35662cc

View file

@ -84,6 +84,12 @@ in
PostgreSQL = "/run/postgresql";
MySQL = "localhost";
}.${cfg.database.type};
defaultText = literalExpression ''
{
PostgreSQL = "/run/postgresql";
MySQL = "localhost";
}.''${config.services.zammad.database.type};
'';
description = ''
Database host address.
'';