nixos/nginx: fix eval on numeric workerProcesses (#576886)

This commit is contained in:
Leona Maroni
2026-10-21 20:13:05 +00:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -372,7 +372,7 @@
- `services.sickbeard` has been removed because all remaining compatible forks were removed from Nixpkgs due to security concerns. See [#560697](https://github.com/NixOS/nixpkgs/issues/560697) for details.
- `services.nginx` has a new option to set the number of worker processes to launch. It's set by default to `auto` instead of the previous default `1`.
- `services.nginx` has a new option to set the number of worker processes to launch. It's set by default to `auto` instead of the previous default `1`. Make sure to remove `worker_processes` from your own config (e.g. `services.nginx.appendConfig`) as nginx doesn't allow more than one definition.
- `services.komodo-periphery` has been updated to support version 2.0.0. Some options have been renamed to match the new configuration structure; compatibility aliases are provided for the renamed options. The `passkeys` and `outbound.onboardingKey` options have been removed; use `passkeyFiles`, `auth.privateKey`/`auth.corePublicKeys`, or `outbound.onboardingKeyFile` instead. New outbound mode configuration is available under `outbound.*`.

View File

@@ -195,7 +195,7 @@ let
error_log ${cfg.logError};
daemon off;
worker_processes ${cfg.workerProcesses};
worker_processes ${toString cfg.workerProcesses};
# load_module is a main-context directive that must precede events{}/http{}.
${optionalString (