From 078e01c87ff8e627589e5675459629cb9becdf8e Mon Sep 17 00:00:00 2001 From: yukkop Date: Fri, 11 Sep 2026 20:20:57 +0000 Subject: [PATCH] feat: some --- nixos/module/hectic/service/dify.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/module/hectic/service/dify.nix b/nixos/module/hectic/service/dify.nix index 8090d8e7..1c3077da 100644 --- a/nixos/module/hectic/service/dify.nix +++ b/nixos/module/hectic/service/dify.nix @@ -21,6 +21,10 @@ plugin_daemon: ports: !override - "127.0.0.1:${toString cfg.pluginPort}:5003" + environment: + DB_USERNAME: ''${DB_USERNAME:-postgres} + DB_HOST: ''${DB_HOST:-db_postgres} + DB_PORT: ''${DB_PORT:-5432} ''; in { options.hectic.services.dify = {