services.pairdrop.rtcConfig

NixOS option

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.

type: JSON value
Default
null
Example
{
  iceServers = [
    {
      urls = "stun:stun.example.com:19302";
    }
  ];
  sdpSemantics = "unified-plan";
}
declared in: nixos/modules/services/web-apps/pairdrop.nixView source on NixOS/nixpkgs →