mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-22 00:04:20 +01:00
wip
Signed-off-by: main <magic_rb@redalder.org>
This commit is contained in:
parent
9245fcb024
commit
417c3dee36
|
@ -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}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue