diff options
| -rw-r--r-- | adonis/autopush/default.nix | 4 |
1 files 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"]; |
