MyNixOS website logo
option

services.pairdrop.rtcConfig

Configuration for STUN/TURN servers. This is converted to JSON and written into a file automatically. If you want to provide a file path instead, set RTC_CONFIG in services.pairdrop.environment.

Declarations
Type
JSON value
Default
null
Example
{
  iceServers = [
    {
      urls = "stun:stun.example.com:19302";
    }
  ];
  sdpSemantics = "unified-plan";
}