From 40d77b7280a741750ab99aae7194a5bc3adcbb83 Mon Sep 17 00:00:00 2001 From: Lyna Date: Sat, 16 May 2026 11:23:05 +0100 Subject: [PATCH] nixos/porxie: update option descriptions --- nixos/modules/services/networking/porxie.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/nixos/modules/services/networking/porxie.nix b/nixos/modules/services/networking/porxie.nix index cb02f1cb067f..5b29831ff87a 100644 --- a/nixos/modules/services/networking/porxie.nix +++ b/nixos/modules/services/networking/porxie.nix @@ -76,22 +76,23 @@ in default = null; apply = v: if v != null then lib.concatStringsSep "," v else null; description = '' - Blob MIME types that can be served. + Blob mimetypes that can be served. Wildcards are supported "*/*", "image/*", etc. - Validation is done loosely via content inference. Further validation can be done by - a layer above this proxy, such as an image transformation service. When inference - fails, the blob's type falls back to `application/octet-stream`. When that type is - allowed, blobs failing inference can still be served. + Validation is done loosely via content sniffing. Further validation can be done by a layer + above this proxy, such as an image transformation service. When inference fails, the blob's + type falls back to `application/octet-stream`. When that type is allowed, blobs failing + inference can still be served. ''; }; PORXIE_BLOB_MAX_SIZE = lib.mkOption { type = lib.types.nullOr lib.types.str; default = null; description = '' - Maximum blob size that can be fetched and served. + Maximum blob size that can be served. - Blobs that exceed this limit will return HTTP 413. The minimum value is 512kb - and the maximum is the system's total memory. + Blobs that exceed this limit will return HTTP 413. + + The minimum value is 512kb and the maximum is the system's total memory. ''; }; PORXIE_BLOB_CACHE_HEADER = lib.mkOption {