diff --git a/containers/heisenbridge.nix b/containers/heisenbridge.nix index aff2ce7..5d634a4 100644 --- a/containers/heisenbridge.nix +++ b/containers/heisenbridge.nix @@ -21,17 +21,18 @@ nglib.makeSystem { -p 9898 \ -o @magic_rb:matrix.redalder.org \ ''; + homeserverURI = "https://matrix.redalder.org/"; in pkgs.writeShellScript "heisenbridge" '' REGISTRATION_FILE="/var/lib/registrations/heisenbridge.yaml" [ -e "$REGISTRATION_FILE" ] || \ - ${pkgs.heisenbridge}/bin/heisenbridge \ + ${pkgs.heisenbridge}/bin/heisenbridge '${homeserverURI}' \ -c "$REGISTRATION_FILE" \ ${config} \ --generate - ${pkgs.heisenbridge}/bin/heisenbridge \ + ${pkgs.heisenbridge}/bin/heisenbridge '${homeserverURI}' \ -c "$REGISTRATION_FILE" \ ${config} '';