Commit graph

11343 commits

Author SHA1 Message Date
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
nixpkgs-ci[bot] f5096bbfa6
Merge master into staging-next 2025-06-02 18:05:37 +00: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
nixpkgs-ci[bot] bb90e78db3
Merge master into staging-next 2025-06-02 12:06:59 +00: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
nixpkgs-ci[bot] ee6ddbfe5d
Merge master into staging-next 2025-06-02 00:18:00 +00:00
Domen Kožar e35f8416a5
paretosecurity: 0.2.23 -> 0.2.27 (#411822) 2025-06-02 02:05:30 +05:00
nixpkgs-ci[bot] 5b0186d6f8
Merge master into staging-next 2025-06-01 18:04:52 +00: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
nixpkgs-ci[bot] b48d2ef16d
Merge master into staging-next 2025-06-01 12:06:38 +00: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
nixpkgs-ci[bot] de21898231
Merge master into staging-next 2025-06-01 00:21:07 +00: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
nixpkgs-ci[bot] d29c3e27b9
Merge master into staging-next 2025-05-31 18:05:12 +00: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
nixpkgs-ci[bot] 3025596725
Merge master into staging-next 2025-05-31 00:16:33 +00: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 1558d84649
Merge remote-tracking branch 'origin/master' into staging-next 2025-05-30 19:29:41 +02: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
nixpkgs-ci[bot] 146a746157
Merge staging-next into staging 2025-05-30 12:07:33 +00:00
Gutyina Gergő b8af95f4cf nixos/n8n: allow unfree in test 2025-05-30 11:46:23 +05:30
nixpkgs-ci[bot] b366c9ee8e
Merge staging-next into staging 2025-05-30 00:17:52 +00:00
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
nixpkgs-ci[bot] 97fff3a232
Merge staging-next into staging 2025-05-29 12:07:37 +00:00
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
K900 37a72a5aa2 Merge remote-tracking branch 'origin/staging-next' into staging 2025-05-29 12:02:16 +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
nixpkgs-ci[bot] fe00466a98
Merge staging-next into staging 2025-05-28 12:08:06 +00: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
K900 a3612e2210 Merge remote-tracking branch 'origin/staging-next' into staging 2025-05-28 11:42:18 +03: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
nixpkgs-ci[bot] 26e0b0347f
Merge staging-next into staging 2025-05-27 10:58:40 +00: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
nixpkgs-ci[bot] 8afc7d1f62
Merge staging-next into staging 2025-05-26 12:07:27 +00:00
Martin Weinelt 8244db9056
nixos/prowlarr: use DynamicUser again, configure bind mount (#410531) 2025-05-26 13:53:00 +02:00
Anton Mosich f782cd6e3b
nixos/mealie: fix test
`simple` was never defined, I assume that this was supposed to be
`sqlite`.
2025-05-26 11:57:23 +02:00
John Titor ad331efcaf nixos/qemu-vm: useBootPartition -> useBIOSBoot
useBootPartition was ambiguous, this makes the option more like useEFIBoot

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-05-26 14:06:42 +05:30
sanana c156a809e3 nixosTests.limine.bios: init
This patch adds a NixOS test for Limine on BIOS systems. It also fixes
some formatting in `nixos/lib/make-disk-image.nix`.

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-05-26 14:06:42 +05:30
nixpkgs-ci[bot] 3ad24a3914
Merge staging-next into staging 2025-05-26 06:07:11 +00:00
Corey O'Connor 57263c6cb4 jenkins: remove coconnor as maintainer
I no longer use jenkins at all.
2025-05-26 04:53:18 +00:00
Aleksana 5e237c4682
nixos.tests.pam-file-contents: fix build failure (#408952) 2025-05-26 11:05:52 +08:00
OPNA2608 4e3b940de0 nixosTests.lomiri-music-app: Optimise OCR 2025-05-25 17:28:59 +02:00
Marie Ramlow 71d5f0f591 nixos/tests/prowlarr: add subtest for dataDir migration 2025-05-25 16:48:37 +02:00
OPNA2608 9293bae27b nixosTests.lomiri-gallery-app: Split format checks into separate tests 2025-05-25 15:55:18 +02:00
K900 546d1ef5b7 Merge remote-tracking branch 'origin/staging-next' into staging 2025-05-25 15:10:04 +03:00
Cosima Neidahl 4aad1fb92c
lomiri.lomiri-mediaplayer-app: 1.1.0 -> 1.1.1 (#407291) 2025-05-25 13:50:01 +02:00
nixpkgs-ci[bot] 4c1aaef724
Merge staging-next into staging 2025-05-25 00:20:00 +00:00
Ryan Omasta 15a6e88a3a
shadps4: use eboot.bin instead 2025-05-24 17:04:27 -06:00
OPNA2608 813189a99f nixosTests.lomiri-mediaplayer-app: Optimise OCR 2025-05-25 00:27:38 +02:00
Cosima Neidahl 2652ab6ef9
lomiri.lomiri-calculator-app: 4.0.2 -> 4.1.0 (#407159) 2025-05-24 22:46:11 +02:00
nixpkgs-ci[bot] fcdae88e36
Merge staging-next into staging 2025-05-24 18:05:46 +00:00
Martin Weinelt c49cc6a396
nixos/lasuite-docs: init (#401798) 2025-05-24 18:43:49 +02:00
soyouzpanda fd7cdab61f
nixos/tests/lasuite-docs: init 2025-05-24 18:27:41 +02:00
K900 ae8989f50d Merge remote-tracking branch 'origin/staging-next' into staging 2025-05-24 15:18:26 +03:00
Florian Klink bb05bee4e5 nixosTests.mycelium: make less flaky
We immediately expected for the other peer to be available in the peer
list, right after startup, but that's racy.

Instead try the pinging multiple times until it succeeds (max 10 times),
then check the list of peers for completion.
2025-05-24 11:59:35 +03:00
nixpkgs-ci[bot] 92da411185
Merge staging-next into staging 2025-05-24 00:17:23 +00:00
Niklas Hambüchen 79d99fd96f
turbovnc: 3.1.4 -> 3.2 (#410000) 2025-05-24 00:32:36 +02:00
Philip Taron 063f43f2db
zoom-us: allow to select xdg-desktop-portal packages (#403064) 2025-05-23 11:48:26 -07:00
nixpkgs-ci[bot] 5c675c14a4
Merge staging-next into staging 2025-05-23 17:49:42 +00:00
Yarny0 3d01f3bfe8 nixos/tests: simple zoom-us test to verify the module 2025-05-23 17:35:30 +02:00
Philip Taron d2860c9744
limine, nixos/limine, nixosTests.limine: inherit pkgs.limine maintainers, add johnrtitor (#410094) 2025-05-23 08:26:15 -07:00
OPNA2608 8bf28aa1aa nixosTests.lomiri-gallery-app: Optimise OCR
- Generate image & video data once, ahead of time
- Use wait_for_console_text to detect when we're close to displaying text
- Programmatically generate per-image-format tests
- Switch to fullscreen for better OCR success odds
2025-05-23 14:42:36 +02:00
nixpkgs-ci[bot] 4b927f15fb
Merge staging-next into staging 2025-05-23 12:07:41 +00:00
Cosima Neidahl e3cd6f5daf
lomiri.lomiri-filemanager-app: 1.1.3 -> 1.1.4 (#407177) 2025-05-23 13:25:34 +02:00
OPNA2608 e8a1053857 nixosTests.lomiri-calculator-app: Optimise for OfBorg
- Add long sleep before sending math question, to give math library time to load

  Ideally, we would modify the app to emit a log message when it's actually ready to accept math questions?
2025-05-23 13:18:09 +02:00
OPNA2608 cf3d7c55ba nixosTests.lomiri-calculator-app: Fix OCR 2025-05-23 13:04:18 +02:00
John Titor 88d5e40fcb
limine, nixos/limine, nixosTests.limine: inherit pkgs.limine maintainers
also adds @programmerlexi to limine package maintainers

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-05-23 15:06:50 +05:30
Niklas Hambüchen e1a5818d48 nixosTests.turbovnc-headless-server: Remove expected-failing test.
It doesn't fail as expected anymore because
`LIBGL_DRIVERS_PATH` was removed in Mesa 24.2,
and apparently there's no replacement for it:
https://github.com/NixOS/nixpkgs/issues/328923

Given that it was removed, and
https://www.phoronix.com/news/Mesa-24.2-Modern-Interfaces
and
https://www.supergoodcode.com/long-road-to-DRIL/
saying that removes the problem it originally caused
(also for us), this test is probably superfluous
because the thing it guards against is gone.
2025-05-23 02:34:17 +00:00
Morgan Jones ff7b4ccdff
nixos/stage-2-init: support nosuid/nodev mount options for /nix/store (#406184) 2025-05-22 19:16:54 -07:00
programmerlexi 771d70fb47 nixos/limine: add test for specialisations 2025-05-22 23:09:50 +05:30
K900 059f376f89
opencloud: init at 2.3.0 (#404891) 2025-05-21 20:36:00 +03:00
Ramses 3cd899b3cb
brscan5: use udevCheckHook and fix permissions of udev rules file (#409344) 2025-05-21 19:34:38 +02:00
programmerlexi 36ecfe6216 nixos/limine: add support for secure boot
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-05-21 21:59:23 +05:30
Aleksana 98da673eec
various: remove tomfitzhenry as maintainer (#407356) 2025-05-21 23:58:02 +08:00
Tom Fitzhenry 8c469ad592 spiped: remove tomfitzhenry as maintainer 2025-05-22 01:24:09 +10:00
K900 b504cc1362 nixos/opencloud: init module
Co-authored-by: Christoph Heiss <christoph@c8h4.io>
2025-05-21 17:47:35 +03:00
Ulrik Strid fbbba999f4
nixos/davis: fix several outstanding bugs (#409068) 2025-05-21 15:36:41 +02:00
Aleksana 2318789c41
midori: drop (#408869) 2025-05-21 20:15:30 +08:00
r-vdp 6035e60b1c
brscan5: use udevCheckHook and fix permissions of udev rules file 2025-05-21 11:19:58 +02:00
Yt 3858071643
vector: 0.46.1 → 0.47.0 (#409169) 2025-05-20 18:48:37 -04:00
Ramses a9746f1f33
brscan5: remove deprecated SYSFS udev rule (#332311) 2025-05-21 00:13:29 +02:00
Marius Kleidl eb394bfc0a
tusd: embed version in binary (#409019)
* nixosTests.tusd: Fix network race condition

Fixes error:

    client # curl: (7) Failed to connect to server port 1080 after 8 ms: Could not connect to server
    client # [    5.621267] network-addresses-eth1-start[795]: adding address 192.168.1.1/24... done

* tusd: embed version in binary

Currently, tusd reports 'n/a' when its version is queried using `tusd -version`.
This change embeds the current version during the build process, so it correctly
reports the value.

See 8e66333a01/scripts/build_funcs.sh (L20)

---------

Co-authored-by: Niklas Hambüchen <mail@nh2.me>
2025-05-20 22:40:16 +02:00
Jonathan Davies f243ea59d9
nixos/vector: Update dnstap test to start network service 2025-05-20 20:33:18 +00:00
Fabián Heredia Montiel 2cbe2498c7
Linux kernels 2025-05-19 (#408709) 2025-05-20 09:03:30 -06:00
Arian van Putten 4df0b7d8ca
nixos/systemd: unconditional systemd-journald-audit.socket (#408085) 2025-05-20 15:29:53 +02:00
Casey Link 23d344b9da nixos/davis: fix several outstanding bugs
As reported in #317303, this fixes:

- nginx config is now actually optional
- mail dsn options are now optional
- broken stdout logging has been replaced with default file logging in
  state dir

fixes #317303
2025-05-20 15:19:19 +02:00
Doron Behar a4e8e74c36
i18n: Add charset related settings (#408307) 2025-05-20 15:17:19 +03:00
Jörg Thalheim b6a5eebd30
k3s: use patched util-linuxMinimal (#407810) 2025-05-20 08:51:57 +02:00
Shogo Takata d04bf86381
nixos.tests.pam-file-contents: fix build failure
This fixes the test for pam file contents.
The pam file started using fully-qualified paths in the following
commit.
7306423158
2025-05-20 15:14:55 +09:00
Alyssa Ross 28ea08fde9 linux/hardened/patches/6.14: init at v6.14.6-hardened1
Co-authored-by: Fabián Heredia Montiel <fabianhjr@protonmail.com>
2025-05-19 21:50:37 -06:00
Thomas Gerbet f492075c53 midori: drop
Package is broken for a while and upstream project
seems to have been re-oriented to a Firefox fork.
See https://github.com/midori-browser/core/issues/468

Closes #374354
2025-05-19 23:21:07 +02:00
Jonas Heinrich 5f501619c0
nixos/tests/oncall: Fix LDAP mapping (#408503) 2025-05-19 18:29:03 +02:00
Doron Behar cbbd59e14e nixosTests.i18n: init 2025-05-19 18:09:27 +03:00
K900 c87615a319 nixos/tests/installer: fix eval 2025-05-19 11:47:03 +03:00
Michele Guerini Rocco eebd349fdd
nixos/pdns-recursor: deprecate settings, add yaml-settings (#406534) 2025-05-19 10:30:07 +02:00
K900 bf0aa25e4b nixos/tests/kanidm: pin to v1.6
These should really be made versioned, but this gets us _something_
quickly, at least.
2025-05-19 11:14:40 +03:00
Winter f3db57edfa nixos/tests/installer: include x86_64-darwin in platforms for uefi tests
Also makes it so that we only set `meta.platforms` in cases where we need
to restrict it; otherwise, we go with the default.
2025-05-19 03:03:25 -04:00
Winter 2680e0beca nixos/tests: don't explicitly set meta.platforms
This prevents the tests from running on Darwin for no real reason.
2025-05-19 03:03:25 -04:00
Jonas Heinrich 8a9cd899ac nixos/tests/oncall: Fix LDAP mapping 2025-05-18 23:16:50 +02:00
benaryorg e434130d0b
nixos/systemd: unconditional systemd-journald-audit.socket
Containers did not have *systemd-journald-audit.socket* in *additionalUpstreamSystemUnits*, which meant that the unit was not provided.
However the *wantedBy* was added without any additional check, therefore creating an empty unit with just the *WantedBy* on *boot.isContainer* machines.
This caused `systemd-analyze verify` to fail:

```text
systemd-journald-audit.socket: Unit has no Listen setting (ListenStream=, ListenDatagram=, ListenFIFO=, ...). Refusing.
systemd-journald-audit.socket: Cannot add dependency job, ignoring: Unit systemd-journald-audit.socket has a bad unit file setting.
systemd-journald-audit.socket: Cannot add dependency job, ignoring: Unit systemd-journald-audit.socket has a bad unit file setting.
```

The upstream unit already contains the following, which should make it safe to include regardless:

```ini
[Unit]
ConditionSecurity=audit
ConditionCapability=CAP_AUDIT_READ
```

For reference, this popped up in the context of #[360426](https://redirect.github.com/NixOS/nixpkgs/issues/360426) as well as #[407696](https://redirect.github.com/NixOS/nixpkgs/pull/407696).

Co-authored-by: Bruce Toll <4109762+tollb@users.noreply.github.com>
Signed-off-by: benaryorg <binary@benary.org>
2025-05-18 19:58:59 +00:00
Bruce Toll 22d51e08cf
nixos/tests/systemd-journal: Fix failing tests
Fix regression from https://github.com/NixOS/nixpkgs/pull/379629.
The systemd-journal test has been failing on hydra since 2025-02-10.
See, for instance: https://hydra.nixos.org/build/290855155.

This commit enables auditing, as expected by the tests. It also
addresses an issue where audit messages were getting dropped due to
rate limits.
2025-05-18 19:58:59 +00:00
Cosima Neidahl 3fc0629638
nixos/tests/common/x11.nix: Fix IceWM theme (#406765) 2025-05-18 19:08:43 +02:00
Morgan Jones 1b18ff3669
nixos/stage2-init: test nosuid and nodev mount options
We can make some evil files in the store within stage1,
and verify that they don't work.
2025-05-18 12:07:18 +02:00
Grimmauld 55f225049e
nixos/tests/boot-stage2: check mount options
The option `boot.nixStoreMountOpts` needs to be tested.
Trying to put a SUID/SGID file into the store will fail because of seccomp filters.
The best test we can do, without intentionally dropping the seccomp filter here,
is to just check `findmnt` and read the mount options in use.
2025-05-18 12:07:14 +02:00
OPNA2608 f66c4ad65f nixos/tests/common/x11.nix: Fix IceWM theme 2025-05-18 10:58:52 +02:00
Atemu 593fa724e2
nixos/tests/vaultwarden: fix UI testing (#408026) 2025-05-17 20:50:26 +02:00
Atemu daba7cfe73
nixosTests.curl-impersonate: skip failing test (#408000) 2025-05-17 20:39:27 +02:00
networkException 94e7e3f350
nixos/tests/vaultwarden: fix UI testing
This patch fixes a failure in the Selenium UI testing
script by waiting for an element to be clickable.
This allows the Angular to render properly.
2025-05-17 19:03:26 +02:00
Emily 507de69321
sourcehut.*: update (#404203) 2025-05-17 17:33:43 +02:00
emilylange 9266b72424
nixosTests.curl-impersonate: skip failing test
We use a NixOS VM test to execute the upstream tests of curl-impersonate
because they require networking which cannot be mocked easily in the
sandbox.

Of those upstream tests, test_http2_headers spawns nghttpd2, makes
request against it and then tries to parse the logs it emits.
The last step, the parsing of the logs, it extremely fragile and version
dependent. The version of nghttp2 that we carry in nixpkgs is newer than
the one curl-impersonate expects and happens to emit a different log
format.

So to fix the remaining test suite of curl-impersonate, we simply skip
test_http2_headers.
2025-05-17 16:38:55 +02:00
Martin Weinelt f462e2564d
acme: Add csr option (#376334) 2025-05-17 11:24:08 +02:00
Morgan Jones 727809f534
nixos/k3s: get tests working again
Some of the attributes fetched throw, so tryEval them. Recurse into the
attribute set to pick up all the tests.
2025-05-16 21:34:22 -07: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
Alois Wohlschlager 9685bc5a05 lixPackageSets.*.lix: test the correct Lix in passthru.tests
Previously always the top-level lix package would be used, which is obviously
not what we want.
2025-05-16 17:55:05 +02:00
Lucas Savva eeaa42f670
nixos/tests/acme: Add CSR test 2025-05-16 13:09:03 +02:00
lassulus 84049bd248
nixos/syncthing: define and handle encryptionPassword option (#383442) 2025-05-15 19:44:22 +02:00
Jenny 26c6a14a9a
nixos/librenms: seed database in module, not only in test (#406546) 2025-05-15 19:17:41 +02:00
Maximilian Bosch 26126c75df
Merge: Use cacert in Nextcloud (#406252) 2025-05-15 18:50:53 +02:00
Maximilian Bosch e9f70c9462
nixos/nextcloud: verify that Nextcloud is using the system-wide CA
Nextcloud manages the CA bundle on its own by default, but we patch this
out and replace it with the system-wide bundle.

Since this was originally designed for the objectstore feature, this
test ensures that an S3 behind a reverse proxy with TLS and its own CA
works fine.
2025-05-15 18:19:58 +02:00
Rémi NICOLE 859e55c0e0
NetBox: 4.2.7 -> 4.2.9 + cleanup (#401110) 2025-05-15 11:33:11 +00:00
Leona Maroni 2c3bb1389e
varnish76: drop
will be EOL within 25.05 support window
2025-05-15 09:56:55 +02:00
Matt Christ ff62fe4136 brscan5: remove deprecated SYSFS udev rule
This patch resolves an issue where systemd-udevd outputs events like:

/nix/store/jm9paymkapbi6pzwbjgmi634vaf2y5va-udev-rules/49-brother-mfp-brscan5-1.0.2-2.rules:17 Invalid key 'SYSFS'.
2025-05-14 18:00:59 -05:00
Yohann Boniface 090d4dfb3a
libxmlb: fix installedTest (#405623) 2025-05-14 23:43:20 +02:00
OPNA2608 66301f51a3 nixosTests.lomiri-filemanager-app: Fix OCR 2025-05-14 23:38:38 +02:00
Cosima Neidahl 527595ee43
nixosTests.{lomiri-*,teleports}: Fix OCR (#406759) 2025-05-14 22:12:56 +02:00
Bobby Rong 3f2e482b29
nixosTests.vscodium: Relax OCR tests again
As long as *some text* displays on the screen everything is fine.

https://hydra.nixos.org/build/297031399/nixlog/9
2025-05-14 20:43:03 +08:00
Minijackson e152cef13d
nixos/tests/netbox-upgrade: don't require NIXPKGS_ALLOW_INSECURE
Before this change, this NetBox test required NIXPKGS_ALLOW_INSECURE=1,
because of its use of the end-of-line NetBox version.
This meant that the GitHub CI failed to evaluate the tests,
and so didn't run them.
2025-05-14 09:45:09 +02:00
Minijackson 7c727f9f73
nixos/tests/netbox-upgrade: test the 4.1 -> 4.2 upgrade 2025-05-14 09:45:06 +02:00
Jonas Heinrich 002ebbc4de
oncall: init at 2.1.7; nixos/oncall: init (#388723) 2025-05-13 23:21:54 +02:00
Marcin Serwin fa148f9b48
nixos/sourcehut: adapt to new versions 2025-05-13 19:53:32 +02:00
OPNA2608 41c8686f60 nixosTests.lomiri-docviewer-app: Fix OCR 2025-05-13 17:49:00 +02:00
OPNA2608 22c53f29b2 nixosTests.lomiri-system-settings: Fix OCR 2025-05-13 17:39:46 +02:00
OPNA2608 ad3c2cb9d1 nixosTests.lomiri-clock-app: Fix OCR 2025-05-13 17:14:50 +02:00
Jörg Thalheim 5adbb5f72a
darling: drop (#405727) 2025-05-13 16:35:40 +02:00
Someone a59b0f1dfd
nvidia-container-toolkit: minor fixups (#405919) 2025-05-13 13:51:43 +00:00
OPNA2608 6ffec69d67 nixosTests.teleports: Fix OCR 2025-05-13 15:28:43 +02:00
OPNA2608 7de0cd47d7 nixosTests.lomiri-music-app: Fix OCR 2025-05-13 15:28:36 +02:00
OPNA2608 e0c6c758a7 nixosTests.lomiri-mediaplayer-app: Fix OCR 2025-05-13 15:28:31 +02:00
OPNA2608 391862e72c nixosTests.lomiri-gallery-app: Fix OCR 2025-05-13 15:28:21 +02:00
OPNA2608 5e6c4ed8ae nixosTests.lomiri-camera-app: Fix OCR 2025-05-13 15:28:13 +02:00
OPNA2608 0e88d93814 nixosTests.lomiri-calendar-app: Fix OCR 2025-05-13 15:28:06 +02:00
Sandro Jäckel 314cfdddb5
nixos/librenms: seed database in module, not only in test
To properly use librenms and create a user, you need the seeded roles
like admin.
2025-05-13 14:24:27 +02:00
Maximilian Bosch 0be521cb0e
Merge: nixos/nextcloud: use LoadCredential to read services.nextcloud.secretFile (#405970) 2025-05-13 13:45:36 +02:00
Nick Cao 475dd3fe95
nixos/stratis: fix test 2025-05-12 19:39:22 -04:00
Christoph Heiss 0a8bcd4699
nvidia-container-toolkit: add myself as maintainer
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2025-05-12 20:41:31 +02:00
rnhmjoj 13accc23b0
nixos/tests/pdns-recursor: test old-settings 2025-05-12 20:27:05 +02:00
Maciej Krüger 2812ff41ee
netdata: 2.4.0 -> 2.5.1 (#404786) 2025-05-12 17:31:40 +02:00
K900 5b99c79903
nixos/udev: verify udev rules with udevadm (#406284) 2025-05-12 12:35:34 +03:00
Vladimír Čunát de872c968f
tests/playwright-python: fix text to look for (#405196) 2025-05-12 10:47:31 +02:00
Wolfgang Walther 82e519947f
nixos/pgbackrest: add SFTP support 2025-05-12 09:14:38 +02:00
Wolfgang Walther d5ddb6116f
nixos/pgbackrest: init module 2025-05-12 09:14:37 +02:00
Leona Maroni f79b568519
nixos/gitlab: add activeRecord key files (#405047) 2025-05-12 08:40:16 +02:00
r-vdp b7fe0a1c0c
nixos/test/installer: make sure we can build the nixos udev rules 2025-05-12 00:37:03 +02:00
Benjamin Sparks 7eaa783b2b nixosTests.darling: drop 2025-05-11 21:02:37 +02:00
Jonas Heinrich 82631e0e4c nixos/tests/oncall: init 2025-05-11 13:30:01 +02:00
Jörg Thalheim 7fd771ee97
ci: allow running jobs locally (#404466) 2025-05-11 12:28:04 +02:00
Wolfgang Walther 8980c1f7fc
various: fix parse errors for nix 2.3
Path interpolation syntax is not supported in the minimum nix version.
2025-05-11 12:14:58 +02:00
Wolfgang Walther 797c149b3e
nixos/postgresql: improve local peer authentication with default map (#404315) 2025-05-11 10:09:00 +00:00
Wolfgang Walther 3d29b7d3a2
nixos/postgresql: improve local peer authentication with default map
This allows to easily map allowed database roles to system users.
2025-05-11 10:24:21 +02:00
isabel 92d64400d5
nixos/anubis: Fix defaultOptions not applying user-defined settings (#398790) 2025-05-11 08:56:46 +01:00
networkException 23468ad19f
nixos/nextcloud: use LoadCredential to read services.nextcloud.secretFile
This patch adds support for using systemd's LoadCredential
feature to read in a json file at a path defined in the
services.nextcloud.secretFile option.

This is a follow up to 2ce1e84103.
2025-05-10 20:36:01 +02:00
Nick Cao d806c1b557
nixosTests.zram-generator: fix test (#405542) 2025-05-09 16:21:25 -04:00
Niklas Hambüchen 2903f7cdda
tusd: init at 1.8.0 (#167076) 2025-05-09 19:17:31 +02:00
Yt c654f66319
nixos/vector: Add journald+ClickHouse test (#405185) 2025-05-09 13:16:09 -04:00
Léana 江 d993907597
libxmlb: fix installedTest 2025-05-09 17:29:29 +02:00
Niklas Hambüchen 5fad4242cc tusd: init at 2.8.0 2025-05-09 15:06:31 +02:00
Jan Tojnar 9c55b12a45
Merge gnome48Extensions: init (#403591) 2025-05-09 13:58:52 +02:00
Jan Tojnar 697c547190 nixosTests.gnome-extension: Wait for activation
This fixes the following failure:

Test "Enable extension 'dash-to-panel@jderose9.github.com'" failed with error: "  State: ACTIVATING instead of ACTIVE"

I can reproduce it even before the parent commit.
2025-05-09 13:48:05 +02:00
Ryan Horiguchi 8c4ec38841
netdata: 2.4.0 -> 2.5.1 2025-05-09 12:56:27 +02:00
Léana 江 a40156de6b
nixosTests.zram-generator: fix test 2025-05-09 12:53:19 +02:00
Jonathan Davies 8932afecff
nixos/vector: Add journald+ClickHouse test 2025-05-08 21:38:42 +00:00
K900 c50e195272
grafana: 11.6.0+security-01 -> 12.0.0 (#404897) 2025-05-09 00:08:35 +03:00
Franz Pletz 2634ca8249
nixos/ntpd-rs: Handle configuring NTP pools (#403903) 2025-05-08 18:28:32 +02:00
Will Fancher cf1934c1a5
make-initrd-ng: fix file permissions (#405190) 2025-05-08 10:26:02 -04:00
Pol Dellaiera aaf817bb5b
nixos/glance: allow specifying secret settings (#395551) 2025-05-08 13:58:03 +00:00
r-vdp ed70f0089d
systemd-initrd: migrate test to runTest and add comment for syntax highlighting of test script 2025-05-08 12:37:39 +02:00
phaer 5d205401b1 tests/playwright-python: fix text to look for
The Nix Manual now includes its release in the middle of the title,
i.e. "Nix 2.28.1 Reference Manual", so we just use a regex
2025-05-08 12:36:26 +02:00
r-vdp 01b589a7f8
systemd-initrd: add test to ensure that the permissions on the systemd generators are correct 2025-05-08 12:35:46 +02:00
Robert Hensing 34bc9e5162
nixosTests: fix pure eval by setting system to null (#404284) 2025-05-08 12:26:55 +02:00
Maximilian Bosch 77a41a7dd8
grafana: 11.6.0+security-01 -> 12.0.0
Closes #404580

ChangeLog: https://github.com/grafana/grafana/releases/tag/v12.0.0

A few changes were necessary here:

* the provision seems to be delayed now, so the `machine.succeed` broke
  because the result was tested before the provisioning was finished.
  Using `wait_until_succeeds` to solve this.

* Work around a problem that got unnoticed during #399404:
  the setup-hook is also run in the `goModules` derivation, but
  `offlineCache` is missing. As a result, the build breaks. I guess this
  was unnoticed because everyone had a goModules with the previous hash
  in their store.

Co-authored-by: Emily <git@emilylange.de>
2025-05-08 07:29:39 +02:00
Leona Maroni a95a530883
nixos/gitlab: add activeRecord key files
GitLab 17.11 started using rails activeRecord encryption for some values.
Introduce new key files. This is breaking for unstable/25.05.

Also add a test to prevent this from happening unnoticed in the future.

For the future there should also be an option to set multiple activeRecord
keys for rotation.
2025-05-07 22:17:02 +02:00
Jonas Chevalier e14ae009dd
odoo, odoo16, 17: unbreak and update; odoo15: drop (#404582)
* odoo16, odoo17: unbreak, python310 -> python311

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>

* odoo: 20250213 -> 20250506

fixes nixosTests.odoo

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>

* odoo: remove with lib

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>

* odoo15: drop

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>

---------

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2025-05-07 08:21:07 +02:00
Yt e3fa38df6b
lauti: rename from eintopf and update to 1.0.0 (#403263) 2025-05-06 16:24:25 -04:00
Jörg Thalheim f90d0af5db
k3s: update to latest versions (#404341) 2025-05-06 18:34:47 +02:00
Bruno BELANYI e8f532dea2
nixos/mealie: add 'database.createLocally' (#403670) 2025-05-06 13:45:40 +01:00
phanirithvij 633892ef03 odoo15: drop
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2025-05-06 14:10:40 +05:30
Robert Rose b97665a7cb k3s: remove timeout for importing container images in test
The timeout caused the `airgap-images` test to fail on slower hardware.
2025-05-06 08:16:25 +02:00
Michele Guerini Rocco 377ae8a729
nixos/dhcpcd: fix hostname via DHCP (#385348) 2025-05-06 03:19:20 +02:00
Peder Bergebakken Sundt f309d7115b
nixos/tests/xmpp: fix ejabberd test (#403744) 2025-05-06 01:16:46 +02:00
rnhmjoj 54a6949722
nixos/tests/networking: test hostname via DHCP 2025-05-05 21:59:33 +02:00
Florian Klink 2ef9f291ef
canaille: 0.0.57 -> 0.0.74 (#402797) 2025-05-05 19:32:25 +03: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
Sandro 9cacd7ee42
nixos/prometheus/alertmanager-ntfy: init module (#402291) 2025-05-05 13:38:24 +02:00
Domen Kožar c1f224f5ed
paretosecurity: 0.2.13 -> 0.2.14 (#403899) 2025-05-05 11:20:16 +01:00
Kerstin Humm d96cc44cd3 canaille: 0.0.57 -> 0.0.74
Changelog: https://gitlab.com/yaal/canaille/-/blob/0.0.74/CHANGES.rst
2025-05-05 13:09:13 +03:00
nixpkgs-ci[bot] 24ea8a988d
Merge master into staging-next 2025-05-05 06:05:51 +00:00
Tristan Ross 816b6de307
nixosTests: fix pure eval by setting system to null 2025-05-04 22:34:56 -07:00
K900 353a572642
Revert "tests/openssh: write a test for CVE-2025-32728" 2025-05-05 07:49:25 +03:00
nixpkgs-ci[bot] 94a9466a41
Merge master into staging-next 2025-05-05 00:17:30 +00:00
Morgan Jones 221a84ccaf
tests/openssh: write a test for CVE-2025-32728 (#401589) 2025-05-04 15:32:20 -07:00
Jonathan Davies 6c73e41ae3
nixos/ntpd-rs: tests: Verify that server/pool has been written to ntpd-rs.toml file 2025-05-04 14:30:14 +00:00
Jonathan Davies baf5e10d29
nixos/ntpd-rs: tests: Configure server observability endpoint on globally listening address
This is how it would be configured for a real-world Prometheus deployment
2025-05-04 14:30:10 +00:00
Jonathan Davies d28bf5e589
nixos/ntpd-rs: tests: Test outputs of ntp-ctl status 2025-05-04 14:29:56 +00:00
Jeremy Fleischman 1b7b89c4ef
Demonstration of an alternate way to embed secrets into syncthing config 2025-05-03 12:43:42 -07:00
Neyts Zupan a6d0ad89d7 paretosecurity: 0.2.13 -> 0.2.14
Also, improve the URL handler test
2025-05-03 12:43:41 +01:00
Bruno BELANYI b8e36dd393 nixosTests.mealie: use 'database.createLocally' 2025-05-02 23:16:00 +01:00
Willy b80cb24a08 nixos/tests/xmpp: fix after xmpp >= 1.9
`ClientXMPP.process` is gone but trivial to diy in our case.

see https://slixmpp.readthedocs.io/en/latest/howto/remove_process.html
2025-05-02 23:04:35 +02:00
Willy 8e166f7ad2 nixos/tests/xmpp: add optional dependencies for xep_0363 plugin 2025-05-02 23:03:53 +02:00