From 001492fe1715fc4d02c64824163ceeb2163c3d7b Mon Sep 17 00:00:00 2001 From: teutat3s <10206665+teutat3s@users.noreply.github.com> Date: Tue, 21 Jan 2025 10:16:13 -0300 Subject: [PATCH] nixos/matrix-appservice-irc: fix signing key generation for media proxying support --- nixos/modules/services/matrix/appservice-irc.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/matrix/appservice-irc.nix b/nixos/modules/services/matrix/appservice-irc.nix index c7cd341a9229..1360969203b5 100644 --- a/nixos/modules/services/matrix/appservice-irc.nix +++ b/nixos/modules/services/matrix/appservice-irc.nix @@ -228,7 +228,7 @@ in sed -i "s/^hs_token:.*$/$hs_token/g" ${registrationFile} sed -i "s/^as_token:.*$/$as_token/g" ${registrationFile} fi - if ! [ -f "${cfg.settings.ircService.mediaProxy.signingKeyPath}"]; then + if ! [ -f "${cfg.settings.ircService.mediaProxy.signingKeyPath}" ]; then ${lib.getExe pkgs.nodejs} ${pkg}/lib/generate-signing-key.js > "${cfg.settings.ircService.mediaProxy.signingKeyPath}" fi # Allow synapse access to the registration