MyNixOS website logo
option

services.matrix-authentication-service.credentials

Mapping of credential name to source file-path. Exposed to the unit via LoadCredential and readable inside the service at ${CREDENTIALS_DIRECTORY}/<name>.

For example:

services.matrix-authentication-service.credentials."synapse-secret" = "/run/agenix/synapse-shared";
services.matrix-authentication-service.settings.matrix.secret_file =
  "\${CREDENTIALS_DIRECTORY}/synapse-secret";
Declarations
Type
attribute set of string
Default
{ }