From 2cf8e2f7ad60dac9a4843b78efceecae4e0bb9bc Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sun, 14 Aug 2022 16:53:25 +0800 Subject: [PATCH] nixos/mautrix-telegram: add ffmpeg-full to path Used for converting tgs to webm and webp format, as well as generating video thumbnails. Using ffmpeg-full for webp support. --- nixos/modules/services/matrix/mautrix-telegram.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/matrix/mautrix-telegram.nix b/nixos/modules/services/matrix/mautrix-telegram.nix index 5a632fd27e80..b64cc71d9873 100644 --- a/nixos/modules/services/matrix/mautrix-telegram.nix +++ b/nixos/modules/services/matrix/mautrix-telegram.nix @@ -137,7 +137,7 @@ in { wantedBy = [ "multi-user.target" ]; wants = [ "network-online.target" ] ++ cfg.serviceDependencies; after = [ "network-online.target" ] ++ cfg.serviceDependencies; - path = [ pkgs.lottieconverter ]; + path = [ pkgs.lottieconverter pkgs.ffmpeg-full ]; # mautrix-telegram tries to generate a dotfile in the home directory of # the running user if using a postgresql database: