services.matrix-synapse.extras

Explicitly install extras provided by matrix-synapse. Most will require some additional configuration.

Extras will automatically be enabled, when the relevant configuration sections are present.

Please note that this option is additive: i.e. when adding a new item to this list, the defaults are still kept. To override the defaults as well, use lib.mkForce.

Type
list of (one of "cache-memory", "jwt", "oidc", "postgres", "redis", "saml2", "sentry", "systemd", "url-preview")
Default
[
  "systemd"
  "postgres"
  "url-preview"
]
Example
[
  "cache-memory" # Provide statistics about caching memory consumption
  "jwt"          # JSON Web Token authentication
  "oidc"         # OpenID Connect authentication
  "postgres"     # PostgreSQL database backend
  "redis"        # Redis support for the replication stream between worker processes
  "saml2"        # SAML2 authentication
  "sentry"       # Error tracking and performance metrics
  "systemd"      # Provide the JournalHandler used in the default log_config
  "url-preview"  # Support for oEmbed URL previews
]
Declared
<nixpkgs/nixos/modules/services/matrix/synapse.nix>