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 { diff --git a/pkgs/by-name/po/porxie/package.nix b/pkgs/by-name/po/porxie/package.nix index 8a0369e2026e..e79164f44503 100644 --- a/pkgs/by-name/po/porxie/package.nix +++ b/pkgs/by-name/po/porxie/package.nix @@ -11,15 +11,15 @@ rustPlatform.buildRustPackage (finalAttrs: { __structuredAttrs = true; pname = "porxie"; - version = "0.3.0"; + version = "0.3.1"; src = fetchFromCodeberg { owner = "Blooym"; repo = "porxie"; rev = "v${finalAttrs.version}"; - hash = "sha256-mClUYDBgOtX0WcCG0rXhgnKFqnvE2UOFH3PABeF+pkI="; + hash = "sha256-XtJD9W0eF6jNWk0xyvGlV6h0JCAUUjFnMk/MRiVBv9I="; }; - cargoHash = "sha256-SImynSnWJ/tiEoSYuFYQ/JncMeierAioZO2Fnx6FHN4="; + cargoHash = "sha256-q/Q4h39EzkjdWApfVf2VT1Rac+/2nQxpn+gp3l8tbeQ="; buildInputs = [ rust-jemalloc-sys ];