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

This commit is contained in:
Martin Weinelt
2025-05-04 04:19:42 +02:00
committed by GitHub
2 changed files with 6 additions and 9 deletions
@@ -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>.
'';
@@ -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.
'';