diff --git a/modules/services/server/jitsi.nix b/modules/services/server/jitsi.nix index 158808c..805ff12 100644 --- a/modules/services/server/jitsi.nix +++ b/modules/services/server/jitsi.nix @@ -1,5 +1,5 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: { services.jitsi-meet = { enable = true; @@ -14,15 +14,17 @@ SHOW_WATERMARK_FOR_GUESTS = false; }; }; - services.jibri.config = { + services.jibri = { enable = true; - recording = { - recordings-directory = "/var/lib/jitsi-meet-recordings"; - }; - ffmpeg = { - #framerate = 30; - #video-encode-preset = "veryfast"; # https://trac.ffmpeg.org/wiki/Encode/H.264#a2.Chooseapresetandtune - h264-constant-rate-factor = 21; # https://trac.ffmpeg.org/wiki/Encode/H.264#a1.ChooseaCRFvalue + config = { + recording = { + recordings-directory = "/var/lib/jitsi-meet-recordings"; + }; + ffmpeg = { + #framerate = 30; + #video-encode-preset = "veryfast"; # https://trac.ffmpeg.org/wiki/Encode/H.264#a2.Chooseapresetandtune + h264-constant-rate-factor = 21; # https://trac.ffmpeg.org/wiki/Encode/H.264#a1.ChooseaCRFvalue + }; }; }; services.jitsi-videobridge = { @@ -35,8 +37,6 @@ ''; systemd.tmpfiles.rules = [ "d /var/log/prosody - prosody prosody" - ]; - systemd.tmpfiles.rules = [ "d ${config.services.jibri.config.recording.recordings-directory} 0750 jibri jibri -" ];