From f2cdf605c335dcd155a5f1f3d6ce825a0863f927 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sat, 3 May 2025 21:52:26 -0400 Subject: [PATCH 1/2] nixos/livekit: Fix docs issues --- nixos/modules/services/networking/livekit.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/nixos/modules/services/networking/livekit.nix b/nixos/modules/services/networking/livekit.nix index b34fc3b61d86..523e84094ebd 100644 --- a/nixos/modules/services/networking/livekit.nix +++ b/nixos/modules/services/networking/livekit.nix @@ -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 `: `. Example: - ``` - lk-jwt-service: f6lQGaHtM5HfgZjIcec3cOCRfiDqIine4CpZZnqdT5cE - ``` + The file should have the format `: `. + Example: + `lk-jwt-service: f6lQGaHtM5HfgZjIcec3cOCRfiDqIine4CpZZnqdT5cE` Individual key/secret pairs need to be passed to clients to connect to this instance. ''; From 7b26bcd2d93a29a322372321f62694b64f60ddb9 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sat, 3 May 2025 21:52:55 -0400 Subject: [PATCH 2/2] nixos/lk-jwt-service: Fix docs issues --- nixos/modules/services/matrix/lk-jwt-service.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nixos/modules/services/matrix/lk-jwt-service.nix b/nixos/modules/services/matrix/lk-jwt-service.nix index 9092b68a58bf..2be1fe806d5c 100644 --- a/nixos/modules/services/matrix/lk-jwt-service.nix +++ b/nixos/modules/services/matrix/lk-jwt-service.nix @@ -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 (`: `) to access LiveKit. Example: - ``` - lk-jwt-service: f6lQGaHtM5HfgZjIcec3cOCRfiDqIine4CpZZnqdT5cE - ``` + `lk-jwt-service: f6lQGaHtM5HfgZjIcec3cOCRfiDqIine4CpZZnqdT5cE` For more information, see . '';