nixpkgs/nixos/modules/services/matrix
Martin Weinelt 143d266f0d
nixos/matrix-synapse: add UNIX domain socket listener support
Exposes two options, `path` and `mode`, to configure the location and
permissions on the socket file.

The `mode` needs to be specified as string in octal and will be converted
into a decimal integer, so it correctly passes through the YAML parser
and arrives at the `os.chmod` call in the Twisted codebase. What a fun
detour.

Adds an assertion, that either `path` or `bind_addresses` and `port` are
configured on every listener.

Migrates the default replication listener of the main instance to a UNIX
domain socket, because it is more efficient.

Introduces the `enableRegistrationScript` option, to gracefully disable
the user registration script, when the client listener listens on a UNIX
domain socket, which is something the script does not support.
2024-02-09 16:05:05 +01:00
..
appservice-discord.nix treewide: use mkPackageOption 2023-11-27 01:28:36 +01:00
appservice-irc.nix nixos/matrix-appservice-irc: fix syscall filter 2023-12-02 12:03:58 -08:00
conduit.nix treewide: use mkPackageOption 2023-11-27 01:28:36 +01:00
dendrite.nix dendrite: 0.11.0 -> 0.12.0 2023-03-18 15:35:47 +01:00
hebbot.nix nixos/hebbot: init 2024-01-25 18:27:33 +01:00
matrix-sliding-sync.nix nixos/matrix-sliding-sync: rename, init dendrite 2023-12-30 00:25:57 +05:30
maubot.md nixos/maubot: init 2023-11-28 20:35:55 +07:00
maubot.nix nixos/maubot: fix eval with default config 2023-12-08 17:35:11 +07:00
mautrix-facebook.nix nixos/postgresql: drop ensurePermissions, fix ensureUsers for postgresql15 2023-11-13 17:16:25 +01:00
mautrix-telegram.nix nixos/matrix/*: change dependencies on matrix-synapse.service to serviceUnit 2023-11-05 21:43:08 +01:00
mautrix-whatsapp.nix nixos/matrix/*: change dependencies on matrix-synapse.service to serviceUnit 2023-11-05 21:43:08 +01:00
mjolnir.md nixos/mjolnir: convert manual chapter to MD 2023-01-10 10:31:56 +01:00
mjolnir.nix nixos: fix bad mkEnableOption descriptions 2023-10-20 16:22:40 +01:00
mx-puppet-discord.nix nixos/matrix/*: change dependencies on matrix-synapse.service to serviceUnit 2023-11-05 21:43:08 +01:00
pantalaimon-options.nix nixos/*: automatically convert option docs 2022-08-06 20:39:12 +02:00
pantalaimon.nix nixos/*: automatically convert option docs 2022-08-06 20:39:12 +02:00
synapse.md nixos/matrix-synapse: add UNIX domain socket listener support 2024-02-09 16:05:05 +01:00
synapse.nix nixos/matrix-synapse: add UNIX domain socket listener support 2024-02-09 16:05:05 +01:00