66 Commits
Author SHA1 Message Date
Maximilian BoschandGitHub 6fadb09232 nixos/matrix-authentication-service: use env var instead of %d (#540984) 2026-07-14 19:57:30 +00:00
uku 9c71adbeb5 nixos/tests/matrix-authentication-service: use extraConfigFiles
nixos/tests/matrix-authentication-service: use extraConfigFiles
2026-07-13 10:59:35 +02:00
K900andGitHub f938b1174c matrix-continuwuity: 0.5.10 -> 26.6.1 (#540449) 2026-07-12 09:26:04 +00:00
Bart Oostveen 91bc748a73 nixos/tests/matrix-continuwuity: add bartoostveen as a maintainer 2026-07-12 11:02:59 +02:00
Bart Oostveen fe3454e664 nixos/tests/matrix-continuwuity: refactor to mautrix library
This is because [matrix-nio](https://github.com/matrix-nio/matrix-nio) is pretty dead, and does not seem to like the new continuwuity version with the new default v12 rooms.
Mautrix is actively maintained and a good fit for basic testing of the client-server connection on NixOS.
2026-07-12 11:02:59 +02:00
Maximilian BoschandEmily 923421ea3f nixos/synapse: implement more advanced integration test
This is an attempt to make better assertions on federation and basic
functionality: so far we had a test that was essentially a
regression-test for email-based authentication.

This change adds the following things:

* uses matrix-federation-tester to verify that federation is set up
  properly.

* uses matrix-commander (a CLI client) to test basic operations
  (sending/receiving messages, invites).

* merge basic synapse test & worker test: one of the federating servers
  uses postgresql and a single federation worker, the other one no
  workers and sqlite.

Co-authored-by: Emily <git@emilylange.de>
2026-07-11 22:02:12 +02:00
Maximilian BoschandGitHub 2c09e754df nixos/matrix-authentication-service: fix extra config file loading (#537261) 2026-07-04 10:30:57 +00:00
Maximilian Bosch 24f95988be nixos/matrix-authentication-service: test credentials behavior in VM-test 2026-07-04 12:23:02 +02:00
teutat3s 0e8889de25 matrix-authentication-service: add matrix team to maintainers 2026-07-01 09:20:14 +02:00
Sebastian KowalakandMaximilian Bosch 4017d57fd9 nixos/matrix-authentication-service: add test 2026-06-26 13:17:24 +02:00
Maximilian Bosch 4ed9aa9fd2 maintainers/matrix: rescope the team
It's absolutely not reasonable to have us maintain random homeserver
implementations and Matrix clients. I don't think anyone is actually
operating and focusing on >1 of these implementations, so restricting
ourselves to the core things & reference implementations makes more
sense to me.
2026-06-24 17:09:57 +02:00
Mistyttm 4e861c2161 nixos/mautrix-discord: refactor
After fixing the registration bug I determined that the module was way
too verbose and did not need to provide all of the options provided in
the application. I've stopped explicitly declaring all options that
aren't needed to make a basic version of the module function. The
assertions have also been updated to mirror this fact and will alert a
user when the specific required options are unset. A new documnetation
file was also added as this module, like other mautrix modules, is quite
complex and may need more explaining.
2026-06-06 21:43:50 +10:00
Maximilian Bosch 65dc9dd1f5 dendrite: remove from matrix maintainer team
It makes zero sense to have it in this team. Dendrite is something
that's (hopefully) rarely deployed and noone from this team touched this
package since 2024-11.
2026-05-16 14:58:38 +02:00
Jacek GalowiczandJacek Galowicz f99f026911 nixosTests: switch from deprecated copy_from_vm to copy_from_machine 2026-05-02 15:40:03 +02:00
Victor Engmark c4f5dfad0d treewide: Remove continuation escape at end of commands
To avoid confusion and spurious newlines in the output.

Found by searching for a backslash followed by a newline, some
indentation, and then the end of multi-line string marker, using the
following extended regex:

```regex
\\\n +'';
```
2026-03-17 16:47:55 +01:00
Bart Oostveen 1c2761e1de nixos/tests/matrix-continuwuity: adapt to new oobe
The new out-of-box experience in continuwuity is such that you have to either
create a first (admin) user manually using `conduit --execute "users create
<name>"`, or using the temporary registration token that appears in the logs.
This needs to happen regardless of whether the server is open to registration
or if there is a pre-shared registration token. This commit makes it so that
the initial `alice` user is created in advance by the server itself. This
does not influence the quality of the nixos test in my opinion.
2026-02-16 01:15:21 +01:00
Dyego Aurélio 28096cc5e3 treewide: apply nixfmt 1.2.0 2026-01-22 18:37:56 -03:00
Ihar Hrachyshka 051d28ff16 treewide: remove remaining meta = with .*lib; 2025-12-14 15:32:23 -05:00
Mistyttm 3235a62c71 nixos/mautrix-discord: Fix registration token generarion 2025-12-01 18:12:25 +10:00
Leona Maroni 6b7e5a5aca nixos/nginx: remove deprecated vhost option enableSSL
The option services.nginx.virtualHost.<...>.enableSSL is deprecated for
8 years [^1]. It causes confusion for people who guess the option and
think it's the right one.
I think it's time to remove it for good.

^1: https://github.com/NixOS/nixpkgs/commit/a912a6a291eaa5f6a2ad9143c9e276779c357a41
2025-09-25 16:34:38 +02:00
Martin Weinelt 8d97843ae2 nixos/tests/matrix-synapse: resolve deprecation warning 2025-08-17 03:10:04 +02:00
Martin Weinelt 7f52135a59 nixos/postfix: fold main and master config into settings attribute 2025-07-28 17:03:08 +02:00
Martin Weinelt 029f408b94 treewide: migrate postfix configurations to service.postfix.config
The `services.postfix.config` option is a freeform type that represents
settings in `main.cf`. The top-level options on the postfix module were
replaced by these and that is the reason behind this migration.
2025-07-28 16:42:17 +02:00
Guillaume Girol ee828cccfa nixosTests.mautrix-discord: fix
the test runs netstat, it needs to be installed
2025-07-26 12:00:00 +00:00
Alexandru ScvorțovandMasum Reza b5f0f7f552 matrix-tuwunel: add tests 2025-07-21 01:52:09 +05:30
Wolfgang WaltherandMarcel 41c5662cbe nixos/postgresql: move postStart into separate unit
This avoids restarting the postgresql server, when only ensureDatabases
or ensureUsers have been changed. It will also allow to properly wait
for recovery to finish later.

To wait for "postgresql is ready" in other services, we now provide a
postgresql.target.

Resolves #400018

Co-authored-by: Marcel <me@m4rc3l.de>
2025-06-24 15:26:47 +02:00
Martin Weinelt 1ebbc5e8b1 nixos/tests/matrix-synapse: deconfigure postfix client certificate
The setup does not actually require mutual TLS for SMTP.
2025-06-22 18:23:37 +02:00
Guillaume GirolandGitHub 129d9338e5 nixos/mautrix-discord: init mautrix-discord module (#404871) 2025-06-22 11:35:25 +02:00
Maximilian Bosch 939b7583da nixos/matrix-synapse: fix test eval 2025-06-20 13:01:34 +02:00
136d3d5cb1 nixos/mautrix-discord: init mautrix-discord module
Co-authored-by: William <willbou2@gmail.com>
Co-authored-by: Robin <robin@robin.town>
2025-06-07 14:14:46 +10:00
d6413ba436 nixosTests.draupnir: init
Co-authored-by: emilylange <git@emilylange.de>
Co-authored-by: Martin Weinelt <hexa@darmstadt.ccc.de>
Co-authored-by: teutat3s <10206665+teutat3s@users.noreply.github.com>
2025-06-06 15:35:33 +02:00
Sizhe Zhao f34483be5e nixosTests: handleTest -> runTest, batch 1
Reference: https://github.com/NixOS/nixpkgs/issues/386873
2025-05-26 20:40:17 +08:00
AleksanaandGitHub d56a9d0b9b matrix-continuwuity: init at 0.5.0-rc.5; nixos/matrix-continuwuity: init (#400637) 2025-05-17 11:14:53 +08:00
Niko Cantero c878ad10fb matrix-continuwuity: init at 0.5.0-rc.5; nixos/matrix-continuwuity: init 2025-05-05 10:25:57 -04:00
Henry-Hiles ba9ab12dc2 nixos/lk-jwt-service: add test 2025-04-29 01:03:33 -04:00
Niklas Korz d2fb99b640 nixos/conduwuit: remove
As the conduwuit project has been officially discontinued,
and the conduwuit NixOS module hasn't been around long enough
to appear in any stable NixOS release, we've removed it.
2025-04-11 22:30:09 +02:00
Dionysis Grigoropoulos 4d68e0da82 nixos/tests/matrix-alertmanager: init 2025-03-07 00:42:43 +02:00
Sumner Evans a87068b870 matrix-synapse: update maintainers and make tests inherit maintainers from package
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2025-02-11 10:19:10 -07:00
Niklas Korz 5161dce855 nixos/conduwuit: init 2024-12-14 12:06:03 +01:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Martin Weinelt 420398889e nixos/matrix-appservice-irc: allow disabling media lifetime
Posting media URLs to IRC that vanish, when they can be refetched from
the remote server they were originated from is not great UX.
2024-09-09 20:35:13 +02:00
Martin Weinelt de396087e9 nixos/tests/matrix-appservice-irc: modernize 2024-09-04 21:05:50 +02:00
Martin Weinelt d3df411913 nixos/matrix-appservice-irc: media proxying support
Adds required options for serving authenticated media and the key
generation logic.
2024-09-04 21:05:50 +02:00
Emily 343ad0ee4a python3Packages.matrix-nio: add withOlm flag 2024-08-26 15:54:04 +01:00
Rutherther 5effc7956a mautrix-meta: init service
Acked-by: Rutherther <rutherther@proton.me>
2024-04-02 19:16:45 +02:00
Nick Cao fd522b612d nixosTests.matrix-synapse: fix requests certificate validation by using minica instead of openssl 2023-11-29 10:49:49 -05:00
Sophie Tauchert ca1ffe5869 nixos/synapse: move services.matrix-synapse.workers.config to services.matrix-synapse.workers 2023-09-18 08:24:37 +02:00
2edea7611b nixos/synapse: document options better
Co-authored-by: Daniel Olsen <daniel.olsen99@gmail.com>
2023-09-18 08:24:36 +02:00
b20cbb12cd nixos/synapse: add test for running synapse with workers
Co-authored-by: Daniel Olsen <daniel.olsen99@gmail.com>
2023-09-18 08:24:36 +02:00
Martin Weinelt 549bc4bc66 nixos/tests/matrix-synapse: Test redis on postgres instance
This requires the module to pick up on the redis configuration, and add
the required extra packages for redis into the wrapper.
2023-07-18 17:53:29 +02:00