mirror of https://gitlab.crans.org/nounous/nixos
45 lines
802 B
Nix
45 lines
802 B
Nix
{ ... }:
|
|
{
|
|
# il y a une faille de secu mais c'est pas exploitable
|
|
# libolm : https://github.com/NixOS/nixpkgs/pull/334638#issuecomment-2289025802
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
"jitsi-meet-1.0.8043"
|
|
];
|
|
|
|
|
|
services.jitsi-meet = {
|
|
enable = true;
|
|
hostName = "jitsi.crans.org";
|
|
|
|
config = {
|
|
# vient de l'ancienne config liveStreamingEnable = true
|
|
liveStreaming.enabled = true;
|
|
};
|
|
};
|
|
|
|
services.jitsi-videobridge = {
|
|
enable = true;
|
|
|
|
#xmppConfigs."localhost" = {
|
|
# port = 5347;
|
|
#};
|
|
|
|
openFirewall = true;
|
|
};
|
|
|
|
services.jicofo = {
|
|
enable = true;
|
|
|
|
config = {
|
|
xmpp = {
|
|
trusted-domains = [ "recoder.jitsi.crans.org" ];
|
|
};
|
|
};
|
|
};
|
|
|
|
services.prometheus.exporters.jitsi = {
|
|
enable = true;
|
|
};
|
|
|
|
}
|