mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
add a defaultText
This commit is contained in:
parent
6157673df0
commit
13e35662cc
1 changed files with 6 additions and 0 deletions
|
@ -84,6 +84,12 @@ in
|
||||||
PostgreSQL = "/run/postgresql";
|
PostgreSQL = "/run/postgresql";
|
||||||
MySQL = "localhost";
|
MySQL = "localhost";
|
||||||
}.${cfg.database.type};
|
}.${cfg.database.type};
|
||||||
|
defaultText = literalExpression ''
|
||||||
|
{
|
||||||
|
PostgreSQL = "/run/postgresql";
|
||||||
|
MySQL = "localhost";
|
||||||
|
}.''${config.services.zammad.database.type};
|
||||||
|
'';
|
||||||
description = ''
|
description = ''
|
||||||
Database host address.
|
Database host address.
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue