mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +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";
|
||||
MySQL = "localhost";
|
||||
}.${cfg.database.type};
|
||||
defaultText = literalExpression ''
|
||||
{
|
||||
PostgreSQL = "/run/postgresql";
|
||||
MySQL = "localhost";
|
||||
}.''${config.services.zammad.database.type};
|
||||
'';
|
||||
description = ''
|
||||
Database host address.
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue