Commit Graph

47 Commits

Author SHA1 Message Date
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: a912a6a291
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țov
b5f0f7f552 matrix-tuwunel: add tests 2025-07-21 01:52:09 +05:30
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
Guillaume Girol
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
Mistyttm
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
Rory&
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
Aleksana
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 a08b3a4d19.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
Sophie Tauchert
2edea7611b nixos/synapse: document options better
Co-authored-by: Daniel Olsen <daniel.olsen99@gmail.com>
2023-09-18 08:24:36 +02:00
Sophie Tauchert
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
Nick Cao
3c0f0d84a8 nixosTests.mjolnir: unbreak 2023-05-15 22:36:26 +08:00
Martin Weinelt
b1eec1c61d nixos/tests/mjolnir: Require matrix-nio[e2e] 2023-03-03 23:59:32 +01:00
Vladimír Čunát
ad2f58729a nixosTests.mjolnir: broken = true;
https://hydra.nixos.org/job/nixos/trunk-combined/nixos.tests.mjolnir.x86_64-linux/all
2022-10-15 14:03:24 +02:00
Robert Hensing
e260018f9c nixos/tests: Add names 2022-09-24 17:38:09 +01:00
Nick Cao
65cefcd588 matrix-synapse: 1.66.0 -> 1.67.0 2022-09-14 14:20:23 +08:00
Alyssa Ross
1e12b9292c nixosTests.mjolnir: fix eval
This was broken by a bad merge, where the same attribute was added
separately in two different places.

Fixes: ef895f6b43 ("Merge pull request #173239 from jojosch/mjolnir-update")
2022-07-08 20:55:55 +00:00
Martin Weinelt
e215af7113 nixos/tests/matrix-appservice-irc: fix typing mismatch 2022-06-24 08:52:46 +02:00
Nguyễn Gia Phong
22f3d4e4db nixos: move matrix services into their category 2022-06-06 13:50:58 +09:00
Rick van Schijndel
ef895f6b43 Merge pull request #173239 from jojosch/mjolnir-update
mjolnir: 1.4.1 -> 1.4.2
2022-06-02 21:40:53 +02:00
FliegendeWurst
8cb2a61de4 nixos/tests/mjolnir: fix registration test 2022-05-27 11:50:22 +02:00
Johannes Schleifenbaum
050e0aa6de nixos/tests/mjolnir: set enable_registration_without_verification for matrix-synapse 2022-05-16 10:32:13 +02:00
Robert Hensing
aa0f27abb0 treewide: machine -> nodes.machine 2022-03-28 14:11:58 +02:00
Martin Weinelt
550fc51d7b nixos/tests/pantalaimon: use synapse setting option 2022-03-04 23:57:32 +01:00
Martin Weinelt
88ddbee02e nixos/tests/mjolnir: use synapse setting option 2022-03-04 23:57:31 +01:00
Johannes Schleifenbaum
8c04e293c1 nixos/mjolnir: add test 2021-09-21 09:23:37 +02:00
Johannes Schleifenbaum
c4d18b3071 nixos/pantalaimon: add test
Co-authored-by: sumnerevans <me@sumnerevans.com>
2021-09-21 09:22:47 +02:00