summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoufic ar <contact@toufy.me>2026-07-11 15:56:12 +0300
committertoufic ar <contact@toufy.me>2026-07-11 15:56:12 +0300
commit10cd7f09301a077a9a1001ca4e70490e9ff016d7 (patch)
tree4d852b57cd92f73e57909ba8e3309097fcb5748b
parent21209b6ebbcca9155b3c2fb6e488ab98ac4c4c08 (diff)
downloadservers-10cd7f09301a077a9a1001ca4e70490e9ff016d7.tar.gz
servers-10cd7f09301a077a9a1001ca4e70490e9ff016d7.zip
string interpolation fuckery
-rw-r--r--adonis/autopush/default.nix4
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}";