From becaa9d64987c57d30d97d714e7549733f778bbc Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sat, 2 Dec 2023 16:09:15 +0100 Subject: [PATCH] fix: revert mautrix-telegram changes --- hosts/nachtigall/apps/matrix/mautrix-telegram.nix | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/hosts/nachtigall/apps/matrix/mautrix-telegram.nix b/hosts/nachtigall/apps/matrix/mautrix-telegram.nix index 70cace59..b9fb60ae 100644 --- a/hosts/nachtigall/apps/matrix/mautrix-telegram.nix +++ b/hosts/nachtigall/apps/matrix/mautrix-telegram.nix @@ -205,19 +205,7 @@ lottieconverter # for animated stickers conversion, unfree package ffmpeg # if converting animated stickers to webm (very slow!) ]; - systemd.services.mautrix-telegram.serviceConfig = - let - cfg = config.services.mautrix-telegram; - settingsFormat = pkgs.formats.json {}; - settingsFile = - settingsFormat.generate "mautrix-telegram-config.json" cfg.settings; - in - { + systemd.services.mautrix-telegram.serviceConfig = { User = "matrix-synapse"; - ExecStart = lib.mkForce '' - ${pkgs.mautrix-telegram}/bin/mautrix-telegram \ - --config='${settingsFile}' \ - --no-update - ''; }; }