services.cliproxyapi.settings

NixOS option

Configuration for CLIProxyAPI. See the example configuration for available options. Secret values can be loaded from files using ._secret = "/path/to/secret";.

type: YAML 1.1 value
Default
{ }
Example
{
  host = "127.0.0.1";
  port = 8317;
  api-keys = [ { _secret = "/run/secrets/cliproxyapi-api-key"; } ];
  remote-management.secret-key._secret = "/run/secrets/cliproxyapi-management-key";
}
declared in: nixos/modules/services/misc/cliproxyapi.nixView source on NixOS/nixpkgs →