From 10cd7f09301a077a9a1001ca4e70490e9ff016d7 Mon Sep 17 00:00:00 2001 From: toufic ar Date: Sat, 11 Jul 2026 15:56:12 +0300 Subject: string interpolation fuckery --- 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 983170d..ff87845 100644 --- a/adonis/autopush/default.nix +++ b/adonis/autopush/default.nix @@ -31,7 +31,7 @@ in { systemd.services = { autopush-autoconnect = { environment = { - AUTOCONNECT__DB_DSN = "redis://127.0.0.1:${redisPort}"; + AUTOCONNECT__DB_DSN = "redis://127.0.0.1:${builtins.toString redisPort}"; AUTOCONNECT__ENDPOINT_SCHEME = "https"; AUTOCONNECT__ENDPOINT_HOSTNAME = "update.${domain}"; AUTOCONNECT__ENDPOINT_PORT = endpointPort; @@ -46,7 +46,7 @@ in { }; autopush-autoendpoint = { environment = { - AUTOEND__DB_DSN = "redis://127.0.0.1:${redisPort}"; + AUTOEND__DB_DSN = "redis://127.0.0.1:${builtins.toString redisPort}"; AUTOEND__HOST = "0.0.0.0"; AUTOEND__PORT = port; AUTOEND__ENDPOINT_URL = "https://update.${domain}"; -- cgit v1.3.1