From 13e35662ccfc4b516dca5e2802cb57ec6a08c57a Mon Sep 17 00:00:00 2001 From: Taeer Bar-Yam Date: Wed, 23 Feb 2022 16:19:10 -0500 Subject: [PATCH] add a defaultText --- nixos/modules/services/development/zammad.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/modules/services/development/zammad.nix b/nixos/modules/services/development/zammad.nix index 8a6c512b017e..d457a6071873 100644 --- a/nixos/modules/services/development/zammad.nix +++ b/nixos/modules/services/development/zammad.nix @@ -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. '';