Unverified Commit 6a81767c authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

nixos/livekit, nixos/lk-jwt-service: Fix docs issues (#404032)

parents c26dc4fb 7b26bcd2
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ in
{
  meta.maintainers = [ lib.maintainers.quadradical ];
  options.services.lk-jwt-service = {
    enable = lib.mkEnableOption "Enable lk-jwt-service";
    enable = lib.mkEnableOption "lk-jwt-service";
    package = lib.mkPackageOption pkgs "lk-jwt-service" { };

    livekitUrl = lib.mkOption {
@@ -28,9 +28,7 @@ in
        Path to a file containing the credential mapping (`<keyname>: <secret>`) to access LiveKit.

        Example:
        ```
          lk-jwt-service: f6lQGaHtM5HfgZjIcec3cOCRfiDqIine4CpZZnqdT5cE
        ```
        `lk-jwt-service: f6lQGaHtM5HfgZjIcec3cOCRfiDqIine4CpZZnqdT5cE`

        For more information, see <https://github.com/element-hq/lk-jwt-service#configuration>.
      '';
+4 −5
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ in
{
  meta.maintainers = with lib.maintainers; [ quadradical ];
  options.services.livekit = {
    enable = lib.mkEnableOption "Enable the livekit server";
    enable = lib.mkEnableOption "the livekit server";
    package = lib.mkPackageOption pkgs "livekit" { };

    keyFile = lib.mkOption {
@@ -20,10 +20,9 @@ in
      description = ''
        LiveKit key file holding one or multiple application secrets. Use `livekit-server generate-keys` to generate a random key name and secret.

        The file should have the format `<keyname>: <secret>`. Example:
        ```
          lk-jwt-service: f6lQGaHtM5HfgZjIcec3cOCRfiDqIine4CpZZnqdT5cE
        ```
        The file should have the format `<keyname>: <secret>`.
        Example:
        `lk-jwt-service: f6lQGaHtM5HfgZjIcec3cOCRfiDqIine4CpZZnqdT5cE`

        Individual key/secret pairs need to be passed to clients to connect to this instance.
      '';