From dc2bae622bbbcbb859ab3e58579aa4393b372c3f Mon Sep 17 00:00:00 2001 From: toufic ar Date: Sat, 11 Jul 2026 15:57:31 +0300 Subject: autopush env vars as strings --- adonis/autopush/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adonis/autopush/default.nix b/adonis/autopush/default.nix index ff87845..d1ebe11 100644 --- a/adonis/autopush/default.nix +++ b/adonis/autopush/default.nix @@ -34,7 +34,7 @@ in { AUTOCONNECT__DB_DSN = "redis://127.0.0.1:${builtins.toString redisPort}"; AUTOCONNECT__ENDPOINT_SCHEME = "https"; AUTOCONNECT__ENDPOINT_HOSTNAME = "update.${domain}"; - AUTOCONNECT__ENDPOINT_PORT = endpointPort; + AUTOCONNECT__ENDPOINT_PORT = builtins.toString endpointPort; AUTOCONNECT__ROUTER_HOSTNAME = "127.0.0.1"; }; wantedBy = ["multi-user.target"]; @@ -48,7 +48,7 @@ in { environment = { AUTOEND__DB_DSN = "redis://127.0.0.1:${builtins.toString redisPort}"; AUTOEND__HOST = "0.0.0.0"; - AUTOEND__PORT = port; + AUTOEND__PORT = builtins.toString port; AUTOEND__ENDPOINT_URL = "https://update.${domain}"; }; wantedBy = ["multi-user.target"]; -- cgit v1.3.1