mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +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 =
|
script =
|
||||||
let
|
let
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
getExe';
|
getExe'
|
||||||
|
makeBinPath;
|
||||||
mautrix-discord = (pkgs.appendOverlays [ config.flake.overlays.mautrix-discord ]).mautrix-discord;
|
mautrix-discord = (pkgs.appendOverlays [ config.flake.overlays.mautrix-discord ]).mautrix-discord;
|
||||||
in
|
in
|
||||||
pkgs.writeShellScript "mautrix-discord"
|
pkgs.writeShellScript "mautrix-discord"
|
||||||
|
@ -31,6 +32,8 @@
|
||||||
${getExe' pkgs.envsubst "envsubst"} < ${./mautrix-discord.yaml} > "$CONFIG_FILE"
|
${getExe' pkgs.envsubst "envsubst"} < ${./mautrix-discord.yaml} > "$CONFIG_FILE"
|
||||||
chmod 755 "$CONFIG_FILE"
|
chmod 755 "$CONFIG_FILE"
|
||||||
|
|
||||||
|
export PATH="$PATH:${makeBinPath [ pkgs.lottieconverter ]};"
|
||||||
|
|
||||||
[ -e "$REGISTRATION_FILE" ] || \
|
[ -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" -g
|
||||||
${getExe' mautrix-discord "mautrix-discord"} -c "$CONFIG_FILE" -r "$REGISTRATION_FILE" -n
|
${getExe' mautrix-discord "mautrix-discord"} -c "$CONFIG_FILE" -r "$REGISTRATION_FILE" -n
|
||||||
|
|
Loading…
Reference in a new issue