mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-21 23:54:22 +01:00
Add lottieconverter to discord bridge
Signed-off-by: magic_rb <richard@brezak.sk>
This commit is contained in:
parent
8f98538aa9
commit
dcace988fc
|
@ -18,7 +18,8 @@
|
|||
script =
|
||||
let
|
||||
inherit (lib)
|
||||
getExe';
|
||||
getExe'
|
||||
makeBinPath;
|
||||
mautrix-discord = (pkgs.appendOverlays [ config.flake.overlays.mautrix-discord ]).mautrix-discord;
|
||||
in
|
||||
pkgs.writeShellScript "mautrix-discord"
|
||||
|
@ -31,6 +32,8 @@
|
|||
${getExe' pkgs.envsubst "envsubst"} < ${./mautrix-discord.yaml} > "$CONFIG_FILE"
|
||||
chmod 755 "$CONFIG_FILE"
|
||||
|
||||
export PATH="$PATH:${makeBinPath [ pkgs.lottieconverter ]};"
|
||||
|
||||
[ -e "$REGISTRATION_FILE" ] || \
|
||||
${getExe' mautrix-discord "mautrix-discord"} -c "$CONFIG_FILE" -r "$REGISTRATION_FILE" -g
|
||||
${getExe' mautrix-discord "mautrix-discord"} -c "$CONFIG_FILE" -r "$REGISTRATION_FILE" -n
|
||||
|
|
Loading…
Reference in a new issue