MyNixOS website logo
option

services.wivrn.config.json

Configuration for WiVRn. The attributes are serialized to JSON in config.json.

Note that the application option must be either a package or a list with package as the first element.

See https://github.com/Meumeu/WiVRn/blob/master/docs/configuration.md.

Declarations
Type
JSON value
Default
{ }
Example
{
  scale = 0.8;
  bitrate = 100000000;
  encoders = [
    {
      encoder = "nvenc";
      codec = "h264";
      width = 1.0;
      height = 1.0;
      offset_x = 0.0;
      offset_y = 0.0;
    }
  ];
  application = [ pkgs.wlx-overlay-s ];
  tcp_only = true;
}