nixpkgs/nixos/modules/services/matrix
Patrick Steinhardt ff3358b3f5 nixos/matrix-appservice-irc: fix chown of registration.yml in pre-script
Before the startup, the matrix-appservice-irc service sets up the
registration file such that it can be used by matrix-synapse. Part of
that setup requires us to change the group of said file so that the home
server can read it. Consequently, we need CAP_CHOWN and require that the
@chown system calls are allowed.

While we supposedly set up both of these, the setup of system calls is
broken as we have both an allow and a deny list of syscalls. But while
the allow list contains "@chown", the deny list contains "@privileged"
which contains "@chown" itself. So ultimately, we end up denying
"@chown".

Fix this issue by specifying "@chown" after the deny list.
2024-04-27 19:04:08 +02:00
..
appservice-discord.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
appservice-irc.nix nixos/matrix-appservice-irc: fix chown of registration.yml in pre-script 2024-04-27 19:04:08 +02:00
conduit.nix docs(conduit): update link to config docs 2024-04-24 09:11:03 +02:00
dendrite.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
hebbot.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
matrix-sliding-sync.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
maubot.md treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
maubot.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
mautrix-facebook.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
mautrix-meta.nix nixos/mautrix-meta: fix lax enable check 2024-04-05 20:05:41 +00:00
mautrix-telegram.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
mautrix-whatsapp.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
mjolnir.md treewide: Mark Nix blocks in markdown as Nix 2024-03-28 09:28:12 +01:00
mjolnir.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
mx-puppet-discord.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
pantalaimon-options.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
pantalaimon.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
synapse.md nixos/matrix-synapse: don't use services.postgresql.initialScript in setup example 2024-04-10 17:43:02 +02:00
synapse.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00