Commit graph

13 commits

Author SHA1 Message Date
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
Wolfgang Walther 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
Maximilian Bosch 939b7583da
nixos/matrix-synapse: fix test eval 2025-06-20 13:01:34 +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
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
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 a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01: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
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
Nick Cao 65cefcd588
matrix-synapse: 1.66.0 -> 1.67.0 2022-09-14 14:20:23 +08:00
Nguyễn Gia Phong 22f3d4e4db
nixos: move matrix services into their category 2022-06-06 13:50:58 +09:00
Renamed from nixos/tests/matrix-synapse.nix (Browse further)