diff options
| author | toufic ar <contact@toufy.me> | 2026-07-11 15:56:12 +0300 |
|---|---|---|
| committer | toufic ar <contact@toufy.me> | 2026-07-11 15:56:12 +0300 |
| commit | 10cd7f09301a077a9a1001ca4e70490e9ff016d7 (patch) | |
| tree | 4d852b57cd92f73e57909ba8e3309097fcb5748b /adonis/autopush | |
| parent | 21209b6ebbcca9155b3c2fb6e488ab98ac4c4c08 (diff) | |
| download | servers-10cd7f09301a077a9a1001ca4e70490e9ff016d7.tar.gz servers-10cd7f09301a077a9a1001ca4e70490e9ff016d7.zip | |
string interpolation fuckery
Diffstat (limited to 'adonis/autopush')
| -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 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}"; |
