-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
non-critical-infra: init jitsi #404
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ pkgs, ... }: | ||
{ | ||
services.jitsi-meet = { | ||
enable = true; | ||
hostName = "jitsi.nixos.org"; | ||
config = { | ||
enableWelcomePage = true; | ||
requireDisplayName = true; | ||
analytics.disabled = true; | ||
startAudioOnly = true; | ||
channelLastN = 4; | ||
lobby = { | ||
autoKnock = true; | ||
enableChat = false; | ||
}; | ||
stunServers = [ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be An alternative to using (and depending on) the matrix.org TURN server would be to disable the p2p calls for two person calls completely with |
||
{ urls = "turn:turn.matrix.org:3478?transport=udp"; } | ||
{ urls = "turn:turn.matrix.org:3478?transport=tcp"; } | ||
]; | ||
constraints.video.height = { | ||
ideal = 720; | ||
max = 1080; | ||
min = 240; | ||
}; | ||
remoteVideoMenu.disabled = false; | ||
breakoutRooms.hideAddRoomButton = false; | ||
maxFullResolutionParticipants = 1; | ||
}; | ||
updateMucs = { | ||
"conference.jitsi.nixos.org".extraModules = [ | ||
"muc_mam" | ||
"vcard_muc" | ||
"lobby_autostart" | ||
"secure_domain_lobby_bypass" | ||
]; | ||
}; | ||
|
||
interfaceConfig = { | ||
SHOW_JITSI_WATERMARK = false; | ||
SHOW_WATERMARK_FOR_GUESTS = false; | ||
GENERATE_ROOMNAMES_ON_WELCOME_PAGE = false; | ||
DISABLE_PRESENCE_STATUS = true; | ||
}; | ||
secureDomain.enable = true; | ||
}; | ||
|
||
services.prosody.extraPluginPaths = [ | ||
"${pkgs.jitsi-prosody-plugins}/lobby_autostart" | ||
"${pkgs.jitsi-prosody-plugins}/secure_domain_lobby_bypass" | ||
]; | ||
|
||
services.prosody.extraModules = [ "muc_lobby_rooms" "persistent_lobby" "lobby_autostart" ]; | ||
services.prosody.virtualHosts."jitsi.nixos.org".extraConfig = '' | ||
modules_enabled = { | ||
"muc_lobby_rooms"; | ||
"persistent_lobby"; | ||
} | ||
''; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep this sorted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, looks like it's already not. Bleh.
So instead: can you sort this? :P (the ../../modules/* entries)