From 3bc5c2e64eff2cbc67ec94a938616d549c42ce52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Tue, 6 Sep 2022 20:31:49 +0000 Subject: mautrix.nix: Support audio messages by adding ffmpeg --- examples/mautrix.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'examples') diff --git a/examples/mautrix.nix b/examples/mautrix.nix index 5a37420..7705579 100644 --- a/examples/mautrix.nix +++ b/examples/mautrix.nix @@ -3,13 +3,17 @@ { # Mautrix-signal settings services.signald.enable = true; - systemd.services.matrix-as-signal.requires = [ "signald.service" ]; - systemd.services.matrix-as-signal.after = [ "signald.service" ]; - systemd.services.matrix-as-signal.unitConfig = { - JoinsNamespaceOf = "signald.service"; + systemd.services.matrix-as-signal = { + requires = [ "signald.service" ]; + after = [ "signald.service" ]; + unitConfig = { + JoinsNamespaceOf = "signald.service"; + }; + path = [ + pkgs.ffmpeg # voice messages need `ffmpeg` + ]; }; - services.matrix-appservices = { addRegistrationFiles = true; services = { -- cgit v1.2.3