Commit graph

11205 commits

Author SHA1 Message Date
Maximilian Bosch d92e71021b
Merge: nixos/vmalert: support multiple instances (#410856) 2025-06-09 15:18:38 +02:00
Cosima Neidahl d3b0010137
lomiri.lomiri-gallery-app: 3.1.0 -> 3.1.1 (#407191) 2025-06-09 13:40:44 +02:00
r-vdp e9e9db0de6
nixos/tests/wstunnel: remove unneeded function args 2025-06-09 11:44:39 +02:00
Maximilian Bosch 0d46fda974
nixos/vmalert: support multiple instances
vmalert only supports a single datasource for querying metrics and
managing alerts. Because of that, we need two instances to manage alerts
for both VictoriaLogs and VictoriaMetrics.

This is strongly inspired by the change made to Redis, i.e. a new
`instances` option was introduced with each option inside it.
With `mkRenamedOptionModule` it's ensured that existing configurations
still evaluate to the same result.
2025-06-09 10:38:58 +02:00
MakiseKurisu d008f045db
nixos/tests/incus: add test for apparmor.service 2025-06-09 00:32:43 +08:00
isabel 2fcdec65a1
nixosTests.cntr: use lib.genAttrs (#414733) 2025-06-08 16:37:33 +01:00
oddlama 5f833b1008
nixos/kanidm: add option and tests for imperative group management 2025-06-08 11:38:33 +02:00
Doron Behar ecb8f8a922
gentium: 6.200 -> 7.000 (#414001) 2025-06-08 08:05:28 +03:00
Sandro 05e776eef5
nixosTests.ngingx-http3: fix race condition (#412954) 2025-06-08 03:23:56 +02:00
Markus S. Wamser e91a6f4594
nixosTests.keepassxc: enable dconf
Keepass tries to commit data to the service ca.desrt.dconf, which
leads to many warnings in the test log if dconf is not enabled.
2025-06-08 02:59:10 +02:00
Grimmauld 65af72507c
nixos/tests/opensnitch: increase logging level 2025-06-08 00:42:34 +02:00
Doron Behar 9dd340e308 nixosTests.fontconfig-default-fonts: use Gentium font
As GentiumPlus will probably never be updated further by upstream.
2025-06-08 01:31:31 +03:00
Benedikt Fein c93299fd44 gentium-plus: rename from gentium
Upstream has named this font 'GentiumPlus' all the time, and stopped
releasing new versions of this font, but began to release a font named
simply 'Gentium' straight at version 7.000.
2025-06-07 22:03:21 +03:00
Sizhe Zhao e304a8352a
nixosTests.dovecot: fix eval 2025-06-07 21:16:24 +08:00
Sizhe Zhao 5d59a9150c
nixosTests.cntr: use lib.genAttrs 2025-06-07 20:29:26 +08:00
Maximilian Bosch c0f7628631
nixos/tests/wireguard: fix eval with allowAliases = false; 2025-06-07 11:56:01 +02:00
Aleksana 15293a19e7
zsh-history: drop (#399466) 2025-06-07 10:18:08 +08:00
Martin Weinelt c80ea7a732
nixos/draupnir: init, nixosTests.draupnir: init (#400194) 2025-06-06 21:01:57 +02:00
gustavderdrache d5960b9e03 nixos-generate-config: Add test for Flake=1 option 2025-06-06 10:55:31 -04: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
April John afdf5811b4 zsh-history: drop
Dropped upstream and has no maintainer. No upstream commits since 6 years.

aliases: add change date

Co-authored-by: Acid Bong <acidbong@tilde.club>
2025-06-06 15:29:12 +08:00
Peder Bergebakken Sundt ba7de1c9d0
nixos/tests/thelounge: fix eval by disabling theme test (#412199) 2025-06-06 01:51:20 +02:00
misuzu 8a50b1478b
nixos/dwl: init module (#403978) 2025-06-05 23:20:43 +03:00
Gurjaka be1545fc17 nixos/dwl: init module 2025-06-05 23:59:14 +04:00
Philip Taron 0861217ca8
treewide: replace stdenv.is with stdenv.hostPlatform.is (#413977) 2025-06-05 06:40:30 -07:00
Paul Haerle f53da6c507
broadcast-box: init at 0-unstable-2025-06-04 (#288443) 2025-06-05 11:11:24 +02:00
Martin Weinelt 3fdac78c28
nixosTests: migrate mc config host add to mc alias set
The former command was deprecated in 2020 and removed in one of the last
releases.
2025-06-05 05:36:17 +02:00
Joshua Manchester ab778dc6b6
nixos/tests/broadcast-box: init 2025-06-04 22:29:59 +01:00
Jonathan Davies ddf9a3eba5
nixos/prometheus: Extend prometheus-pair test to verify first compaction succeeds 2025-06-04 17:30:24 +00:00
OPNA2608 1f57618cae nixosTests.lomiri-camera-app: Fix OCR, round 4
We're struggling with OCRing gnome-text-editor now. Let's inspect the clipboard via simpler means.
2025-06-04 19:20:35 +02:00
Peder Bergebakken Sundt 97262ee871 treewide: replace stdenv.is with stdenv.hostPlatform.is 2025-06-04 19:01:03 +02:00
dotlambda 3c8ae5a756
nixos/tests/vaultwarden: fix (#413759) 2025-06-04 09:52:55 -07:00
OPNA2608 3be4b7894a nixosTests.teleports: Fix OCR 2025-06-04 11:13:35 +02:00
OPNA2608 2a00439306 nixosTests.lomiri-camera-app: Fix OCR, round 3
By splitting one long test into multiple smaller ones, OfBorg should hopefully be happy with this now...
2025-06-04 11:13:35 +02:00
OPNA2608 8ae8da2e50 nixosTests.morph-browser: Fix OCR 2025-06-04 11:13:35 +02:00
OPNA2608 fb195778d6 nixosTests.lomiri-camera-app: Fix OCR, round 2 2025-06-04 11:13:35 +02:00
Peder Bergebakken Sundt b90e02d897
tracee: 0.20.0 -> 0.23.1 (#411447) 2025-06-04 06:27:56 +02:00
Robert Schütz d624852d0c nixos/tests/vaultwarden: fix 2025-06-03 18:05:30 -07:00
Jonathan Davies 025a8628bf nixosTests.openssh: Added SFTP testcase 2025-06-04 01:22:58 +10:00
benaryorg aedca00813
nixos/opentelemetry-collector: fix tests
This fixes:

```text
otelcol[891]: error decoding 'exporters': the logging exporter has been deprecated, use the debug exporter instead
```

Signed-off-by: benaryorg <binary@benary.org>
2025-06-03 13:22:54 +00:00
Andrew Benbow 223d142ea0 nixos/drupal: init 2025-06-02 16:56:22 -04:00
Pascal Bach c793c51b88 nixos/minio: replace deprecated mc config host command 2025-06-02 21:50:55 +02:00
Pol Dellaiera 6d9d3014ba
treewide: fix typos in comments (#413240) 2025-06-02 18:43:07 +02:00
Peder Bergebakken Sundt c77ac9dfc3 treewide: fix typos 2025-06-02 16:07:07 +02:00
OPNA2608 e4b09e47ac nixosTests.galene.file-transfer: init 2025-06-02 11:36:13 +02:00
OPNA2608 d709875eb3 nixosTests.galene.basic: init 2025-06-02 11:36:13 +02:00
eljamm 3213654cf8 tests/taler: update exchange node config 2025-06-02 09:38:19 +02:00
eljamm b24910bccf tests/taler: fix currency withdrawal confirmation 2025-06-02 09:38:19 +02:00
eljamm c1fe104a77 tests/taler: adjust currency wire fees
because making a withdrawal fails if the fees are 0, for some reason.
2025-06-02 09:38:19 +02:00
eljamm f73d148645 tests/taler: pass config to taler-exchange-offline
else it doesn't work properly.
2025-06-02 09:38:19 +02:00
eljamm 4ea47f3563 tests/taler: change bank admin password
which is now required to be at least 8 chars long.
2025-06-02 09:38:19 +02:00
eljamm 12fa648231 tests/taler: update merchant instance's endpoint 2025-06-02 09:38:19 +02:00
eljamm 21ad6f743c tests/taler: create exchange credentials at runtime
Basic auth is deprecated, so exchange credentials must be set at runtime
because it requires a token from the bank.
2025-06-02 09:38:19 +02:00
eljamm 1741d8abaa tests/taler: authenticate users with tokens 2025-06-02 09:38:19 +02:00
eljamm e04f8bb993 nixos/libeufin: update BASE_URL
which is now required to have a valid protocol.
2025-06-02 09:38:19 +02:00
Domen Kožar e35f8416a5
paretosecurity: 0.2.23 -> 0.2.27 (#411822) 2025-06-02 02:05:30 +05:00
Markus Wamser 962db80796 nixosTests.ngingx-http3: fix race condition
make the client wait for its network to come up before starting test

without the wait, the client might try to access the network before its
own network stack is up, as evidenced in
https://hydra.nixos.org/build/299048133/nixlog/9/tail
2025-06-01 16:06:26 +02:00
e1mo 67da1e3518
nixosTests.dokuwiki: Fix tests
Updating the bootstrap theme (we need just any theme for testing if
themes work) fixed the issue of the failing test.
2025-06-01 15:49:17 +02:00
Yt bd63862b59
nixos/stalwart-mail: fix incorrect config for webadmin and spam-filter (#412054) 2025-06-01 07:17:22 -04:00
Pratham Patel 26a8f74022 nixosTests/cosmic: skip testing GUI app if not present
In cases when a given GUI app is absent (encountered when excluding
packages like `cosmic-term`, etc), the test fails because the GUI app
doesn't launch. That, while being a failure, is not connected to the
COSMIC DE itself. So if a binary is missing, skip launch-testing it.
2025-06-01 12:00:28 +02:00
Yt 24b70d6579
stalwart-mail: build against system jemalloc [second try] (#411265) 2025-05-31 18:07:15 -04:00
Morgan Jones 24134e86b7
k3s.tests: fix eval 2025-05-31 13:21:48 -07:00
Marcus Ramberg 7d26069e0d
{,nixos/}pocket-id: 0.53.0 -> 1.1.0 (#411229) 2025-05-31 18:06:33 +02:00
Yureka 176801036c nixosTests.stalwart-mail: test with rocksdb 2025-05-31 12:33:58 +02:00
Adam C. Stephens 6a43740d56
headscale: 0.25.1 -> 0.26.0, update nixos module and test accordingly (#407644) 2025-05-30 17:06:02 -04:00
Martin Weinelt d83926c86c
nixos/tests/pretix: increase memory to 2 GiB
During the test I noticed that journald said it was under memory pressure
and the test progress slowed to a crawl.
2025-05-30 18:12:10 +02:00
Gutyina Gergő b8af95f4cf nixos/n8n: allow unfree in test 2025-05-30 11:46:23 +05:30
Peder Bergebakken Sundt 1fe7cd22a9 nixos/tests/thelounge: fix eval by disabling theme test
It seems we don't package thelounge themes anymore
2025-05-30 01:41:04 +02:00
John Titor 202780360b nixosTest.lact: init
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-05-30 03:43:04 +05:30
Diogo Correia b7ab1fa981
nixos/stalwart-mail: fix incorrect config for webadmin and spam-filter
Stalwart 0.11.0 changed the `config.resource.spam-filter` and
`config.resource.webadmin` keys to be `spam-filter.resource` and
`webadmin.resource` respectively. The NixOS has been updated
accordingly, but unfortunately it has mistakenly used
`config.spam-filter.resource` and `config.webadmin.resource`, which are
incorrect and do not do anything.

This commit changes the default configuration to use the correct keys.

Note that due to infinite recursion, the `optionalAttrs` has been
replaced with `mkIf`.

Additionally, some tests were added to catch this regression in the
future.

Fixes #411351
2025-05-29 12:11:58 +01:00
Florian Klink 2d03d70e9d
nixos/systemd-stage-1: follow systemd /run propagation (#405687) 2025-05-29 12:21:50 +03:00
Emil Thorsoe b7f21582d0 nixos/terminfo: ignore packages with incompatible platforms in all-terminfo test 2025-05-29 10:59:02 +03:00
Neyts Zupan 22dbe6bd1c paretosecurity: 0.2.23 -> 0.2.27 2025-05-29 07:34:08 +01:00
Nick Cao a09d6bc43d
stratisd: 3.7.3 -> 3.8.0 (#389415) 2025-05-28 20:41:48 -04:00
Franz Pletz 7e9accc2a7
mediamtx: 1.12.2 -> 1.12.3 (#411557) 2025-05-29 00:54:53 +02:00
Yt 6486d2e63a
lauti.tests: fix the eval (#411823) 2025-05-28 18:31:10 -04:00
OPNA2608 aff794fe22 nixosTests.lomiri-gallery-app: Cache media in thumbnailer ahead-of-time, retry until successful 2025-05-28 22:47:06 +02:00
Lukas Wurzinger 96ec055edb nixos/filebrowser: init module 2025-05-29 00:54:49 +05:30
Ilan Joselevich 7b3486bdc3
nixos/kanidm: merge recursively with extraJsonFile (#411439) 2025-05-29 01:14:00 +07:00
Sergei Trofimovich 342c8ac9ec lauti.tests: fix the eval
After a rename of the attribute the test references were fixed, but not
the test itself. This caused eval failures like:

    $ nix build --no-link -f. lauti.tests
    error:
       … while evaluating the attribute 'lauti'
         at pkgs/by-name/la/lauti/package.nix:45:26:
           44|   passthru.tests = {
           45|     inherit (nixosTests) lauti;
             |                          ^
           46|   };

THe change renames the test as well.
2025-05-28 18:42:34 +01:00
Peter Marshall dd15d6c248
nixos/tests/systemd-initrd-credentials: init 2025-05-28 13:20:23 -04:00
Kristoffer Dalby 0dd5cdaa3b
headscale: 0.25.1 -> 0.26.0, update nixos module and test accordingly
Co-authored-by: Sandro <7258858+SuperSandro2000@users.noreply.github.com>
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2025-05-28 16:20:41 +02:00
Robert Hensing 99db54d11c
nixosTests: fix eval (#411634) 2025-05-28 16:16:49 +02:00
hand7s c464c44a42
nixos/gnome & nixos/gdm: move out of x11
Since DEs like KDE Plasma 6, GNOME and COSMIC are not designed to be X11-exclusive, putting them under `services.xserver` is misleading. In particular, GNOME defaults to Wayland these days and X11 support is going to be dropped in near future.

Let’s follow Plasma and move GNOME NixOS options out of `xserver` attribute.

This patch does not include any changes to X11 support itself.

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-05-28 13:27:36 +02:00
Peder Bergebakken Sundt f4fec9cf42
cryptpad: fix broken symlink that renders cryptpad unusable (#410514) 2025-05-28 12:40:50 +02:00
Franz Pletz b877d063fb
nixos/tests/mediamtx: make more robust 2025-05-28 09:55:14 +02:00
Sizhe Zhao fb24b403c1
nixosTests: fix eval 2025-05-28 15:08:32 +08:00
Dominique Martinet 18ca00d03e nixos/cryptpad: add selenium test
This catches more errors than just the curl test we had previously, e.g.
it catches 404 on tweetnacl fixed by the following commit

Link: https://github.com/NixOS/nixpkgs/issues/404114#issuecomment-2906588917
2025-05-28 12:19:23 +09:00
Cosima Neidahl 67b2951930
lomiri.lomiri-music-app: 3.2.2 -> 3.3.0 (#407331) 2025-05-27 22:47:52 +02:00
Ilan Joselevich 3b6b50dfad
nixos/kanidm: merge recursively with extraJsonFile
Previously, if you set group memberships in both locations, they will
get replaced by the ones in extraJsonFile, which is unexpected as it
kicks users from the group. Now the state files get merged recursively,
including the arrays.
2025-05-27 23:44:44 +03:00
Gutyina Gergő cf7ece2830
{,nixos/}pocket-id: make pocket-id-backend subpackage the main package 2025-05-27 19:59:48 +02:00
Gutyina Gergő ab1ce1ea5b
{,nixos/}pocket-id: 0.53.0 -> 1.0.0
This contains breaking changes, see https://pocket-id.org/docs/setup/migrate-to-v1/.

The frontend now generates only static files and no longer includes a
binary for serving them. The backend has taken over the responsibility
of serving the static assets.

Co-authored-by: ymstnt <21342713+YMSTNT@users.noreply.github.com>
2025-05-27 19:59:43 +02:00
Tim Häring 41aa024e28
tracee: 0.20.0 -> 0.23.1 2025-05-27 17:47:28 +02:00
Robert Hensing 6041b78d8b nixosTests.containers-imperative: Fix eval 2025-05-27 16:29:43 +02:00
Robert Hensing d09d8ce195 nixosTests.login: Fix eval 2025-05-27 16:29:43 +02:00
Robert Hensing d5226c89f1
nixosTests: handleTest -> runTest, batch 1 (#410569) 2025-05-27 15:33:37 +02:00
OPNA2608 23274a2a2a nixosTests.lomiri-gallery-app: Remove format extension check
Test already makes sure that the to-be-tested format is the only one that gets installed,
and OfBorg seems to get stuck on these sonmetimes. Just remove it.
2025-05-27 12:07:15 +02:00
Peder Bergebakken Sundt 01a4aa202c
shadps4: 0.7.0 -> 0.9.0 (#402418) 2025-05-27 11:00:15 +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
Martin Weinelt 8244db9056
nixos/prowlarr: use DynamicUser again, configure bind mount (#410531) 2025-05-26 13:53:00 +02:00