Commit graph

10407 commits

Author SHA1 Message Date
Ramses 9abef1cee8
switch-to-configuration-ng: don't block when the lockfile is already locked (#382797) 2025-02-19 11:07:33 +01:00
nixpkgs-ci[bot] 83c5315429
Merge master into staging-next 2025-02-19 00:14:37 +00:00
Sandro 1e029d3f26
age-plugin-tpm: 0.2.0 -> 0.3.0 (#382630) 2025-02-18 21:17:45 +01:00
Joshua Peek b9ae163054 age-plugin-tpm: 0.2.0 -> 0.3.0 2025-02-18 10:18:45 -08:00
nixpkgs-ci[bot] 746c76aa6f
Merge master into staging-next 2025-02-18 18:04:37 +00:00
lassulus cc594f99bf
nixos/h2o: module init (#382527) 2025-02-18 21:06:35 +07:00
Kerstin 4c18ccc9c4
nixos/mobilizon: update nginx config, mobilizon: fix media proxy (#374273) 2025-02-18 14:33:46 +01:00
nixpkgs-ci[bot] 9bd398d5e9
Merge master into staging-next 2025-02-18 12:05:57 +00:00
โทสฺตัล 2c1a09f1fe nixos/h2o: init module
Co-Authored-By: adisbladis <adis@blad.is>
2025-02-18 17:06:15 +07:00
Jörg Thalheim cdf83e0f3a
nixos-generate-config: add --flake option (#383033) 2025-02-18 16:50:13 +07:00
Pablo Ovelleiro Corral 1606ea91b4 nixos-generate-config: add --flake option
Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
2025-02-18 15:37:53 +07:00
nixpkgs-ci[bot] 71e949e746
Merge master into staging-next 2025-02-18 00:14:29 +00:00
Jonathan Davies e28cde906f
apacheKafka: drop 3.6 2025-02-17 23:27:48 +00:00
Jonathan Davies 89e275f747
apacheKafka: init at 3.9.0 2025-02-17 23:27:47 +00:00
Tristan Ross 1b5bba3f02
gopro-tool: init at 0-unstable-2024-04-18 (#382151) 2025-02-17 11:16:28 -08:00
Matt Szafir e40c33427e gopro-tool: init at 0-unstable-2024-04-18 2025-02-17 08:57:08 -07:00
r-vdp 1aa7e7a131
switch-to-configuration: add a test to make sure that we don't block on the lockfile
We should exit with a clear error message instead.
2025-02-17 15:47:08 +01:00
nixpkgs-ci[bot] fc7fa5f568
Merge master into staging-next 2025-02-17 00:15:35 +00:00
Sandro 2b88ceefff
weblate: 5.9.2 -> 5.10 (#382341) 2025-02-16 23:33:52 +01:00
K900 d5cd4577b8 Merge remote-tracking branch 'origin/master' into staging-next 2025-02-16 16:38:34 +03:00
Sandro bbea96f543
lomiri.lomiri-calendar-app: init at 1.1.2 (#366949) 2025-02-16 14:30:15 +01:00
Kerstin Humm 23157759eb
nixos/weblate: run the integration test without --deploy for now 2025-02-16 14:10:26 +01:00
K900 ef9eef8d21 Merge remote-tracking branch 'origin/master' into staging-next 2025-02-15 17:19:02 +03:00
Neyts Zupan 2fd6e913b2 pgweb: add NixOS test
I maintain this package and I'd llike to be able to merge minor version
bumps without having to manually test the package.

refs https://github.com/Thaigersprint/thaigersprint-2025/issues/1
2025-02-15 16:05:43 +07:00
Jeremy Fleischman 7f9ea915ff
nixosTests.step-ca: wait for caddy to finish ACME dance
On my machine, I see that this `curl` command often fails. This is
because the caddy server hasn't finished the ACME dance with the step-ca
server yet.

This seems like the simplest fix. Alternatives I considered (and would
be happy to implement if folks prefer):

- Use `wait_for_file` to wait for the certificate to appear
- Increase caddy's log level and scrape its logs for the "certificate obtained"
  message.
2025-02-15 10:06:12 +07:00
nixpkgs-ci[bot] 43a5de6cbb
Merge master into staging-next 2025-02-14 12:05:56 +00:00
OPNA2608 883665e987 nixosTests.lomiri-calendar-app: init 2025-02-14 12:32:49 +01:00
Maximilian Bosch 680066accf
Merge: maintainers: remove sumnerevans from matrix team and add to matrix-synapse (#381232) 2025-02-14 09:38:46 +01:00
Martin Weinelt eb57ea0460
Merge remote-tracking branch 'origin/master' into staging-next 2025-02-14 02:28:12 +01:00
Felix Bühler c501435cd7
nixos/rss-bridge: fix pool, add package, add webserver + test (#379189) 2025-02-13 19:40:23 +01:00
nixpkgs-ci[bot] 9e48e88814
Merge staging-next into staging 2025-02-13 12:06:33 +00:00
nixpkgs-ci[bot] d77d6bff03
Merge master into staging-next 2025-02-13 12:06:02 +00:00
Franz Pletz 757befc1e5
frr: 10.1 -> 10.2.1, libyang: 2.1.148 -> 3.4.2 (#365164) 2025-02-13 09:40:19 +01:00
nixpkgs-ci[bot] 047d600fc8
Merge staging-next into staging 2025-02-13 00:14:58 +00:00
nixpkgs-ci[bot] ba14e0aa79
Merge master into staging-next 2025-02-13 00:14:34 +00:00
Tristan Ross 8005d0910b
prometheus-node-cert-exporter: init at 1.1.7 (#368325) 2025-02-12 12:34:24 -08:00
K900 2e6bab8dd7 Merge remote-tracking branch 'origin/master' into staging-next 2025-02-12 21:35:42 +03:00
Martin Milata 8fa9a9bf44 sympa: remove mmilata from maintainers 2025-02-12 18:37:16 +01:00
nixpkgs-ci[bot] 52381ec09d
Merge staging-next into staging 2025-02-12 12:06:31 +00:00
nixpkgs-ci[bot] 97b9d455ea
Merge master into staging-next 2025-02-12 12:05:57 +00:00
Aleksana ece0ac9a7f
nixos/wrappers: add per-wrapper enable option (#376196) 2025-02-12 20:02:52 +08:00
nixpkgs-ci[bot] 843c56dc9b
Merge staging-next into staging 2025-02-12 00:15:06 +00:00
nixpkgs-ci[bot] 696a86490d
Merge master into staging-next 2025-02-12 00:14:36 +00:00
Felix Buehler 874d00ecf4 nixosTests/rss-bridge: improve and add caddy 2025-02-11 23:57:17 +01:00
tomberek ad4373ce8d
teleport_17: init at 17.2.1; teleport: Use fetchCargoVendor (#380613) 2025-02-11 16:19:22 -05:00
Wolfgang Walther 3ec550cd59
nixos/postgresql/citus: fix syscall filter and add test (#379769) 2025-02-11 21:25:03 +01:00
K900 a8ea01bdd0 Merge remote-tracking branch 'origin/master' into staging-next 2025-02-11 21:27:54 +03: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
aszlig 31597f33c7
Merge pull request #378089 (fix timesyncd test)
The pull request fixes the systemd-timesyncd NixOS test, which was
broken for quite a while.

I'm merging this in despite any review since that pull request has been
open for two weeks and since it's just fixing something that is broken
right now, I highly doubt that there would be much opposition (and you
can't break something that's already broken).

If there are objections on *how* I fixed this, we can still alter or
revert the change later.
2025-02-11 18:04:26 +01:00
nixpkgs-ci[bot] cdb99d3a20
Merge master into staging-next 2025-02-11 12:05:55 +00:00
Cosima Neidahl 4d232a3a95
lomiri.lomiri-music-app: init at 3.2.2 (#364958) 2025-02-11 11:31:39 +01:00
Robert Rose c256d7b5ec nixos/k3s: use dynamic networking in multi node test
The dynamic setup requires less network configuration and allows to use
features of the nixos testing driver, e.g. port forwarding and SSH
access to nodes in interactive mode.
2025-02-11 11:24:44 +01:00
Cosima Neidahl 69155ec978
nixosTests.terminal-emulators.lomiri-terminal-app: Drop (#378809) 2025-02-11 11:14:32 +01:00
nixpkgs-ci[bot] e20903fa3d
Merge master into staging-next 2025-02-10 18:04:55 +00:00
Robert Schütz 94a21d8335
vaultwarden: 1.33.1 -> 1.33.2 (#380716) 2025-02-10 08:52:21 -08:00
JuliusFreudenberger 86f814fc41 teleport_17: init at 17.2.1 2025-02-10 16:42:58 +02:00
nixpkgs-ci[bot] 49b0ebc046
Merge master into staging-next 2025-02-10 12:05:49 +00:00
Arian van Putten 587efe0fd0
Unbork journals audit logs and introduce audit option (#379629) 2025-02-10 12:09:32 +01:00
nixpkgs-ci[bot] 5140d32870
Merge master into staging-next 2025-02-10 00:15:04 +00:00
Julien Langlois 37372eb227
nixos/postgresql/citus: fix syscall filter and add test 2025-02-09 18:07:27 -05:00
Robert Schütz fcb71bf658 nixos/tests/vaultwarden: adapt to new webvault 2025-02-09 13:07:46 -08:00
OPNA2608 c4c8c1181f nixosTests.lomiri-music-app: init 2025-02-09 17:53:19 +01:00
Azat Bahawi 0589bd307d
nixos/{wg-quick,wireguard}: add AmneziaWG support (#341663) 2025-02-09 10:03:27 +03:00
Niklas Korz eb9659fa9b nixosTests.mobilizon: migrate from handleTest to runTest 2025-02-08 22:17:17 +01:00
nixpkgs-ci[bot] 1c064f3421
Merge staging-next into staging 2025-02-08 06:04:43 +00:00
Bobby Rong 2ffa0d9740
nixosTests.cinnamon, nixosTests.budgie: Unbreak (#380251) 2025-02-08 12:30:15 +08:00
Bobby Rong 28cc453c6e
pantheon.wingpanel: 8.0.1 -> 8.0.2 (#380077) 2025-02-08 12:26:24 +08:00
Bobby Rong d339cc6d0d
nixos/tests/cinnamon: Scale slick-greeter for OCR tests
Otherwise it sometimes fails to find Alice Foobar for me.
2025-02-08 09:19:36 +08:00
Bobby Rong 52c9128476
nixos/tests/pantheon: Pgrep io.elementary.files.xdg-desktop-portal
Hopefully this is less flaky.
2025-02-08 09:16:23 +08:00
nixpkgs-ci[bot] fca3c588c3
Merge staging-next into staging 2025-02-07 18:05:00 +00:00
Arian van Putten bf3a70020c nixos/tests/systemd-journal: test audit behaviour
This also tests the presence of an upstream bug
2025-02-07 15:58:19 +01:00
Sandro fadee3e049
nixos/bird: rename bird2 to bird, switch to bird3 by default (#366190) 2025-02-07 14:28:30 +01:00
nixpkgs-ci[bot] eafe472381
Merge staging-next into staging 2025-02-07 12:06:21 +00:00
Konstantin Alekseev a09e851dc4 playwright: 1.48.1 -> 1.50.1 2025-02-07 12:20:02 +01:00
nixpkgs-ci[bot] 6cbc9451cf
Merge staging-next into staging 2025-02-07 00:15:02 +00:00
Pol Dellaiera facc1650dc
mariadb: 10.5.28, 10.6.21, 10.11.11, 11.4.5 (#379600) 2025-02-06 19:53:23 +01:00
nixpkgs-ci[bot] 898830821b
Merge staging-next into staging 2025-02-06 18:04:54 +00:00
Tom Herbers 5abb11bbe7
nixos/bird: rename bird2 to bird, switch to bird3 by default
This is done in view of the Release of the new v3 of Bird.

Switch to the bird3 package for the `services.bird.package` option.

Switch the `bird` package alias to bird3.
2025-02-06 16:35:44 +01:00
K900 13b8408f30 Merge remote-tracking branch 'origin/staging-next' into staging 2025-02-06 17:10:14 +03:00
Cosima Neidahl 1fc611ea7f
lomiri.qtmir: Increase Mir startup timeout to fix VM tests on weaker hardware (#377247) 2025-02-06 14:19:14 +01:00
Simon Hauser e5f5eff45c
nixos/tests/mysql-autobackup: fix eval 2025-02-06 14:05:37 +01:00
nikstur 6c94b746ee
Revert "nixos/tests/userborn: fix setting hostPlatform" 2025-02-06 11:33:34 +01:00
K900 29d8d9b1a7 Merge remote-tracking branch 'origin/master' into staging-next 2025-02-05 22:58:25 +03:00
Sandro c062500e08
nixos/powerdns-admin: adapt for newer flask-session (#365257) 2025-02-05 20:06:11 +01:00
OPNA2608 d83ad09f1d nixosTests.lomiri: Split big indicator test into multiple per-indicator ones 2025-02-05 19:33:50 +01:00
K900 56c60b2c97 Merge remote-tracking branch 'origin/master' into staging-next 2025-02-05 17:42:52 +03:00
Robert Hensing 0b47fba230 Revert "nixos/nixpkgs: make config.nixpkgs.{localSystem,crossSystem,buildPlatform,hostPlatform} write only"
This reverts commit 0a19371146.
2025-02-05 14:29:18 +01:00
OPNA2608 500d48c7fd nixosTests.lomiri: Unify python function definitions, fix on weaker hardware
- Set wallpaper (where it doesn't cause issues) to simplify image for OCR
- Raise sleep before OCR to 30 (fixes OCR on my local aarch64 hardware? maybe being overloaded...)
2025-02-04 20:27:34 +01:00
nixpkgs-ci[bot] 996ffd0274
Merge staging-next into staging 2025-02-04 18:05:00 +00:00
K900 3029205c9c Merge remote-tracking branch 'origin/master' into staging-next 2025-02-04 17:12:39 +03:00
thomasjm 00a218abb2 mkBinaryCache: support different compression methods: xz (default), zstd, none 2025-02-04 05:49:39 -08:00
asymmetric f2bb1efa65
nixos/geth: add sepolia, remove obsolete networks, fix license (#378301) 2025-02-04 13:32:40 +01:00
nixpkgs-ci[bot] c91a43b5e5
Merge staging-next into staging 2025-02-04 12:06:36 +00:00
K900 3ddda10211 Merge remote-tracking branch 'origin/master' into staging-next 2025-02-04 10:29:11 +03:00
Martin Weinelt 573ebb1e13
nixos/home-assistant: declarative blueprints (#377688) 2025-02-04 00:43:44 +01:00
Robert Schütz da7138684b nixos/home-assistant: declarative blueprints 2025-02-03 10:54:30 -08:00
nixpkgs-ci[bot] c721a7fb35
Merge staging-next into staging 2025-02-03 18:05:46 +00:00
K900 945d2e2a7a Merge remote-tracking branch 'origin/master' into staging-next 2025-02-03 18:00:08 +03:00
nikstur 713e0478a6 nixos/tests/userborn: fix setting hostPlatform 2025-02-02 22:31:25 +01:00
OPNA2608 82c62d132e nixosTests.terminal-emulators.lomiri-terminal-app: Drop 2025-02-02 13:50:17 +01:00
nixpkgs-ci[bot] 0acbe87d4f
Merge staging-next into staging 2025-02-02 11:33:22 +00:00
nixpkgs-ci[bot] e1353d0d8d
Merge master into staging-next 2025-02-02 11:32:53 +00:00
Wolfgang Walther c1793a336b
pkgs/top-level: make package sets composable (reapply) (#376988) 2025-02-02 11:41:17 +01:00
K900 1fa0be855c Merge remote-tracking branch 'origin/staging-next' into staging 2025-02-02 09:49:00 +03:00
K900 c15f4ee007 Merge remote-tracking branch 'origin/master' into staging-next 2025-02-02 09:47:44 +03:00
Jörg Thalheim b29c6f5a4a
stage-2-init: fix false positives for RO Nix store mounts (#375257) 2025-02-02 08:58:03 +07:00
nixpkgs-ci[bot] 9e06c2d43e
Merge staging-next into staging 2025-02-02 00:15:30 +00:00
NotAShelf d36a364148
nixos/tests: add user-enable-option
Specifically for checking if a user exist when `users.users.<name>.enable` is set to `true`.
2025-02-02 02:07:11 +03:00
Sandro bc32400f0d
swaylock,swaybg: fix svg support (#378270) 2025-02-01 22:10:38 +01:00
K900 d44bbfd49c Merge remote-tracking branch 'origin/master' into staging-next 2025-02-02 00:08:43 +03:00
Markus Kowalewski 1fb5e43217
zenoh-*: 1.1.1 -> 1.2.0 (#378511) 2025-02-01 21:21:04 +01:00
nixpkgs-ci[bot] a48c44eb1d
Merge staging-next into staging 2025-02-01 18:04:20 +00:00
nikstur 8a12cae321 nixos/repart-image: support swap 2025-02-01 18:36:51 +01:00
K900 a49299aac8 Merge remote-tracking branch 'origin/master' into staging-next 2025-02-01 19:21:53 +03:00
Bobby Rong a6555c222e
nixosTests.lxqt: init (#377023) 2025-02-01 21:18:35 +08:00
Bobby Rong 127113a73c
nixosTests.lxqt: init 2025-02-01 21:00:04 +08:00
K900 7017fbeb11 Merge remote-tracking branch 'origin/master' into staging-next 2025-02-01 15:17:10 +03:00
Markus Kowalewski 84c1c36a37 nixos/zenoh: fix test
Avoid timing issues by starting the router first
2025-02-01 12:33:23 +01:00
Wolfgang Walther 0a19371146
nixos/nixpkgs: make config.nixpkgs.{localSystem,crossSystem,buildPlatform,hostPlatform} write only
The description for options.nixpkgs.system already hints at this:

  Neither ${opt.system} nor any other option in nixpkgs.* is meant
  to be read by modules and configurations.
  Use pkgs.stdenv.hostPlatform instead.

We can support this goal by not elaborating the systems anymore, forcing
users to go via pkgs.stdenv.

This will prevent problems when making the top-level package sets
composable in the next commit. For this to work, you should pass a fully
elaborated system to nixpkgs' localSystem or crossSystem options.
2025-02-01 12:04:59 +01:00
Jared Baur f38d462b9b
nixosTests.networking.networkd.bond: fix flakiness
We need to do the virtio link setup prior to `network.target`, since
systemd-networkd orders itself before `network.target`. So in order for
the bond to properly enslave the two virtio links, they should be
configured as a part of `network-pre.target`.
2025-01-31 18:54:59 -08:00
nixpkgs-ci[bot] 63ab5cd1c5
Merge staging-next into staging 2025-02-01 00:15:45 +00:00
K900 c2b7f783cb Merge remote-tracking branch 'origin/master' into staging-next 2025-02-01 00:55:04 +03:00
Felix Bühler a3c8d04684
nixos/homer: init (#368594) 2025-01-31 22:34:36 +01:00
K900 be1a14b888 Merge remote-tracking branch 'origin/master' into staging-next 2025-01-31 23:04:28 +03:00
Lorenzo Manacorda 3ec974ac88 nixos/geth: add sepolia network 2025-01-31 17:11:27 +01:00
Tert0 71ce1c3413
nixos/tests/{sway,swayfx}: fix pgrep commands to match wrapped swaylock 2025-01-31 14:03:32 +01:00
shivaraj-bh 4b9de23515 nixos/open-webui: quote services.open-webui.host in start script 2025-01-31 16:05:12 +05:30
Felix Buehler e1b59f78a9 nixos/homer: add tests 2025-01-30 21:58:25 +01:00
aszlig e35a65a2f8
nixos: Fix timesyncd test for systemd >= 257.1
Version 257.1 of systemd changed[1] the PrivateTmp setting for the
systemd-timesyncd service from "yes" to "disconnected", which broke our
systemd-timesyncd test.

The reason for this is because the systemd-tmpfiles-setup.service is
*only*[2] added as a dependency of systemd-timesyncd.service if
PrivateTmp is set to "yes" but not when it is set to "disconnected"
(which would make sense given that the tmpfiles.d mechanism was
originally designed for temporary files).

Commit 339a866b7c switched the activation
script to using systemd-tmpfiles, but the commit in question doesn't
provide an explanation why this was necessary in this particular case.

However the pull request[3] lists an ongoing effort to get rid of Perl
and in the future get also rid of BASH for activation. The reasons for
doing this are outlined in the document[4]:

> The simple presence of interpreters on a system pose a security risk.
> An attacker that gains access to a system can abuse them to execute
> arbitrary commands. Mitre lists this as technique T1059. The most
> radical yet simple solution to mitigate this exploit is to remove all
> interpreters from a system (Mitre M1042). This radical solution is
> only really feasible and/or interesting for appliances (i.e.
> non-interactive) systems. Especially for high-security solutions this
> mitigtation is interesting.

I personally don't think this is a very compelling reason, at least for
our activation scripts, since an attacker could simply drop an
executable binary. Nevertheless, getting rid of additional dependencies
on eg. Perl or BASH is something worth pursuing to trim down moving
parts.

To address this, I decided to implement this as a normal systemd service
unit, since we need to guarantee that it's started before
systemd-timesyncd.service and with a dedicated unit we can ensure
explicit ordering. This has the advantage that we don't interfere with
the effort of getting rid of Perl/BASH for activation/boot and also
don't risk running into race conditions (again) because it's very
unlikely that systemd will change/deprecate explicit unit ordering in
the near future.

[1]: 1f6e192848
[2]: 30675a6ee9/src/core/unit.c (L1274)
[3]: https://github.com/NixOS/nixpkgs/pull/263203
[4]: https://pad.lassul.us/nixos-perlless-activation

Signed-off-by: aszlig <aszlig@nix.build>
2025-01-30 19:28:51 +01:00
nixpkgs-ci[bot] 089bfe7c41
Merge staging-next into staging 2025-01-30 18:04:56 +00:00
Alyssa Ross 97fc6f36d0
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/by-name/ez/eza/package.nix
	pkgs/by-name/re/rewatch/package.nix
	pkgs/by-name/rq/rqbit/package.nix
	pkgs/development/python-modules/diffusers/default.nix
	pkgs/development/python-modules/manga-ocr/default.nix
	pkgs/development/tools/misc/texlab/default.nix
2025-01-30 15:02:26 +01:00
Ramses 823a05829f
nixos/activation: pass the action as an argument to the pre-switch-checks (#377526) 2025-01-30 11:25:33 +01:00
nixpkgs-ci[bot] 354d9c1c97
Merge staging-next into staging 2025-01-29 18:04:58 +00:00
Martin Weinelt 909803a20e
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/by-name/au/automatic-timezoned/package.nix
- pkgs/by-name/da/darklua/package.nix
- pkgs/by-name/ki/kittycad-kcl-lsp/package.nix
- pkgs/by-name/li/limbo/package.nix
- pkgs/by-name/mi/minijinja/package.nix
- pkgs/by-name/pa/pay-respects/package.nix
- pkgs/by-name/ri/river-bsp-layout/package.nix
- pkgs/by-name/sv/svgbob/package.nix
- pkgs/by-name/tu/tui-journal/package.nix
- pkgs/by-name/wa/waypipe/package.nix
- pkgs/development/python-modules/zxcvbn-rs-py/default.nix
2025-01-29 16:08:53 +01:00
Franz Pletz a9ac4deac7
nixos/hound: restart service on changes (#377611) 2025-01-29 09:52:05 +01:00
7c6f434c 721168adda
squid: add nixos test (#377284) 2025-01-29 08:15:34 +00:00
Wolfgang Walther 4a5e71b144
postgresql: refactor postgresqlVersions attribute & tests (#377048) 2025-01-28 22:41:34 +01:00
Bjørn Forsman 5555b70e30 nixosTests.hound: migrate from 'config' to 'settings'
Fixes this eval warning:

  evaluation warning: The option `services.hound.config' defined in `makeTest parameters' has been changed to `services.hound.settings' that has a different type. Please read `services.hound.settings' documentation and update your configuration accordingly.
2025-01-28 19:47:17 +01:00
Alyssa Ross 35febc093c
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/by-name/ha/harper/package.nix
2025-01-28 13:29:32 +01:00
Krzysztof Nazarewski 49a26eda2a nixos/netbird: harden and extend options 2025-01-28 12:34:55 +01:00
r-vdp e6bc540ce0
nixos/activation: pass the action as an argument to the pre-switch-checks
This allows for instance to reject switching into a configuration, while
still allowing to reboot into that same configuration.

This can be useful for instance to reject switching to a configuration
with a new systemd major version, but setting that same configuration as
the new boot default with `switch-to-configuration boot` is fine.
2025-01-28 11:40:38 +01:00
Martin Weinelt 33647a8179
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/by-name/ca/cargo-leptos/package.nix
- pkgs/by-name/ha/harper/package.nix
- pkgs/by-name/ma/marmite/package.nix
- pkgs/by-name/no/nomino/package.nix
- pkgs/by-name/st/stgit/package.nix
- pkgs/development/python-modules/pycm/default.nix
- pkgs/development/python-modules/python-gvm/default.nix
- pkgs/development/tools/rbspy/default.nix
2025-01-28 00:15:44 +01:00
Felix Bühler bed0e7fadc
nixos/freshrss: add caddy support (#377068) 2025-01-27 21:39:01 +01:00
nixpkgs-ci[bot] 5df98c0ec5
Merge master into staging-next 2025-01-27 18:04:30 +00:00
Silvan Mosberger 7cceab521e
pds: init at 0.4.74, nixos/pds: init (#350645) 2025-01-27 13:54:09 +01:00
K900 b6f676fbd2 Merge remote-tracking branch 'origin/master' into staging-next 2025-01-27 15:42:36 +03:00
Bobby Rong e28253539b
nixosTests.mate-wayland: Check for more text (#377283) 2025-01-27 19:43:21 +08:00
Bobby Rong 7db3b7c28b
nixosTests.mate-wayland: Check for more text
* As long as the dialog shows everything is fine, make the test less flaky.
* Also use `pgrep` instead of `pgrep -f` when possible.
2025-01-27 19:16:34 +08:00
Joshua Kobschätzki 433006b863 squid: add test 2025-01-27 12:12:01 +01:00
Morgan Jones 672f423d0c nixos/mattermost: default preferNixConfig to true
Now that we are disabling telemetry by default, we should attempt to
override it and other options in existing mutable configs,
if the user had a mutable config and advances their system.stateVersion.
2025-01-27 10:29:37 +01:00
Morgan Jones fc3f7c17e2 nixos/mattermost: disable telemetry by default
We should disable telemetry but enable security update checks. Make both
controlable in the module without digging into settings.

Disabling telemetry also makes NixOS tests faster because the server
tries to send telemetry on first start.
2025-01-27 10:29:37 +01:00
Felix Buehler 88234d3a4f nixos/freshrss: add caddy support 2025-01-26 22:33:20 +01:00
Maximilian Bosch eb96c8dc5b
postgresql: refactor postgresqlVersions attribute & tests
Every postgresql testcase essentially does the following things:

* Filter `postgresqlVersions` for server packages
* Filter postgresql server packages for suitable ones (i.e. extensions
  must support the given version)
* Generate an attribute-set of testcases

The first item became necessary in
7ab1e88833 given that
`postgresql/default.nix` now exposes JIT and non-JIT servers AND a
`libpq` that is not suitable for the tests here.

This changes restructures this a little bit, i.e.:

* Having an attribute-set that contains a bunch of postgresql servers
  and a single client package seems odd (and the sole consumer of
  `postgresqlVersions` in nixpkgs, the test suite, has to take that into
  account). Hence, postgresql's default.nix now provides `libpq` (the client)
  and a `postgresqlVersions` attribute with all supported JIT and non-JIT
  variants of postgresql.

* Each test-case gets a third argument, a function called `genTests`:
  this function sets `recurseForDerivations = true;` and generates an
  attribute-set of tests for each postgresql version given a function
  that returns a testcase or multiple test-cases (`makeTestFor`). The
  argument to `makeTestFor` is a postgresql server package.

  This function also accepts a filter predicate that is passed against
  `filterAttrs` to remove postgresql server packages that are not
  suitable for the test (e.g. because the version isn't supported by the
  extension to test).

I checked by making sure that the `.drv` doesn't change on staging with
this change on top for postgresq, postgresql-jit,
postgresql-wal-receiver, postgresql-tls-client-cert, anonymizer, pgjwt,
pgvecto-rs, timescaledb, tsja and wal2json.
2025-01-26 21:58:57 +01:00
Alyssa Ross 6723c183bf
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/by-name/ca/cargo-public-api/package.nix
	pkgs/by-name/ju/just/package.nix
	pkgs/by-name/kd/kdlfmt/package.nix
	pkgs/by-name/mo/mountpoint-s3/package.nix
	pkgs/by-name/wa/wayidle/package.nix
2025-01-26 19:49:51 +01:00
Arne Keller 2ab9225a40
stash: refactor; 0.25.1 -> 0.27.2; nixos/stash: init (#323231) 2025-01-26 15:16:35 +01:00
Julien Moutinho f2a5463bf2 nixos/public-inbox: cleanup test 2025-01-26 15:06:05 +01:00
Julien Moutinho bbb68bef2e nixos/public-inbox: test confinement 2025-01-26 15:06:05 +01:00
Alyssa Ross 502c77492b
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/applications/editors/vim/plugins/non-generated/avante-nvim/default.nix
	pkgs/applications/editors/vim/plugins/non-generated/cord-nvim/default.nix
	pkgs/applications/version-management/git-stack/default.nix
	pkgs/by-name/bo/boxbuddy/package.nix
	pkgs/by-name/ca/capnproto-rust/package.nix
	pkgs/by-name/ca/cargo-binstall/package.nix
	pkgs/by-name/ca/cargo-deb/package.nix
	pkgs/by-name/ca/cargo-modules/package.nix
	pkgs/by-name/cl/clapboard/package.nix
	pkgs/by-name/do/dotslash/package.nix
	pkgs/by-name/fe/felix-fm/package.nix
	pkgs/by-name/gi/gitlab-ci-ls/package.nix
	pkgs/by-name/go/gotify-desktop/package.nix
	pkgs/by-name/ha/handlr-regex/package.nix
	pkgs/by-name/ir/iroh/package.nix
	pkgs/by-name/ma/manga-tui/package.nix
	pkgs/by-name/ob/obs-cmd/package.nix
	pkgs/by-name/ox/oxlint/package.nix
	pkgs/by-name/pi/pik/package.nix
	pkgs/by-name/re/reindeer/package.nix
	pkgs/by-name/rn/rnr/package.nix
	pkgs/by-name/ro/routinator/package.nix
	pkgs/by-name/rw/rwpspread/package.nix
	pkgs/by-name/sk/skim/package.nix
	pkgs/by-name/so/sope/package.nix
	pkgs/by-name/so/soteria/package.nix
	pkgs/by-name/sp/spacer/package.nix
	pkgs/by-name/st/stylance-cli/package.nix
	pkgs/by-name/su/subxt/package.nix
	pkgs/by-name/sw/swayfx-unwrapped/package.nix
	pkgs/by-name/te/television/package.nix
	pkgs/by-name/to/toast/package.nix
	pkgs/by-name/wa/wastebin/package.nix
	pkgs/by-name/wi/wit-bindgen/package.nix
	pkgs/by-name/wo/workshop-runner/package.nix
	pkgs/development/interpreters/wasmtime/default.nix
	pkgs/development/tools/rust/cargo-edit/default.nix
	pkgs/development/tools/sentry-cli/default.nix
	pkgs/misc/t-rec/default.nix
	pkgs/tools/video/yaydl/default.nix
2025-01-26 14:55:08 +01:00
Adam C. Stephens 272fb5babf
nixos/tests/incus: extend check timeouts 2025-01-25 10:50:36 -05:00
Adam C. Stephens 0e7fa5714c
incus: fix instance unclean shutdown, add per-instance lxcfs support (#373920) 2025-01-25 10:05:03 -05:00
DrakeTDL 8814ab8ab5
nixos/stash: init 2025-01-24 10:50:55 -08:00
Pol Dellaiera f426a49433
nixos/mongodb: add support for mongodb-ce package (#375587) 2025-01-24 19:24:49 +01:00
Austin Horstman 2a5f6cadd5
swayfx-unwrapped: backport fix to support updated libinput (#376189) 2025-01-24 12:00:44 -06:00
Alyssa Ross 53de5140ae
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/applications/editors/vim/plugins/non-generated/nvim-spectre/default.nix
	pkgs/applications/editors/vim/plugins/non-generated/sg-nvim/default.nix
	pkgs/by-name/ce/cedar/package.nix
	pkgs/by-name/gn/gnome-podcasts/package.nix
	pkgs/by-name/ru/rust-analyzer-unwrapped/package.nix
	pkgs/by-name/sy/systemctl-tui/package.nix
	pkgs/by-name/ti/tinty/package.nix
2025-01-24 16:40:22 +01:00
K900 5b961c87be nixos/tests/installer: add shellcheck-minimal
Required after #375961
2025-01-24 11:04:28 +03:00
Patrick Steinhardt d267ea8717 nixos/wrappers: add per-wrapper enable option
While it is possible to globally enable or disable security wrappers, it
isn't possible to disable only a subset of them. Consequently, users
will have to overwrite the security wrappers completely and re-add the
desired subset in case they want to disable a subset of those set up by
the NixOS modules.

Address this usecase by adding a new per-wrapper enable option.
2025-01-23 19:56:06 +01:00
Grimmauld 80f8c4e269
nixos/tests/swayfx: fix deprecation warning 2025-01-23 19:29:10 +01:00
Cosima Neidahl b7d58b870d
lomiri.lomiri-telephony-service: 0.5.3 -> 0.6.0, rename from lomiri.telephony-service (#374141) 2025-01-23 19:03:06 +01:00
t4ccer 6d0241ebb0
pds: add NixOS test 2025-01-23 10:26:13 -07:00
Robert Rose 95b894bad7 nixos/k3s: add autoDeployCharts option
The `autoDeployCharts` option further improves the auto deploying
capabilities of the k3s module by allowing to deploy and configure Helm charts
that are then instaled via the k3s Helm controller. Although this was
also previously possible by using auto deploying manifests, it required
some knowledge of the k3s Helm controller and led to a lot of
boilerplate code.
2025-01-23 16:34:35 +01:00
r-vdp 113dbd79de
nixos/activation: improve preSwitchChecks
A couple of improvements:

1. Avoid the generally discouraged apply argument to options, as it has
   quite weird semantics
2. Avoid issues when a user calls a preSwitchCheck `script`, which
   would've been silently overridden by the existing implementation.
   Reliance on a special attribute name like that is bound to lead to a
   very-hard-to-debug problem for someone at some point
3. Use writeShellApplication so that the preSwitchChecks are checked by
   shellcheck and and so that they run with basic bash guardrails
4. Fix shellcheck issue (testing the value of $?)
5. Add a positive preSwitchCheck to the nixos test, to make sure that
   that works as intended
2025-01-23 15:51:37 +01:00
nixpkgs-ci[bot] dbd63f1910
Merge staging-next into staging 2025-01-23 06:05:26 +00:00
Lin Jian 363cce76a2
various: remove AndersonTorres from maintainership (#375416) 2025-01-23 13:37:50 +08:00
Anderson Torres bc80114502 various: remove AndersonTorres from modules maintainership 2025-01-22 21:47:09 -03:00
nixpkgs-ci[bot] a7ee3fbaaa
Merge staging-next into staging 2025-01-23 00:14:33 +00:00
Nick Cao 20065b3e46
caddy: 2.9.0 -> 2.9.1 (#375655) 2025-01-22 16:22:57 -05:00
nixpkgs-ci[bot] 9fb7ecfb57
Merge staging-next into staging 2025-01-22 00:14:52 +00:00
Yifei Sun 4ae25041b2
caddy: 2.9.0 -> 2.9.1
Co-authored-by:: techknowlogick <techknowlogick@gitea.com>
2025-01-21 17:45:47 -05:00
Leona Maroni 1c698f52e3
matomo: refactor, matomo-beta: remove (#374022) 2025-01-21 19:40:08 +01:00
Leona Maroni c068347f63
Fixes and housekeeping for the varnish module (#373747) 2025-01-21 19:38:51 +01:00
nixpkgs-ci[bot] dec099d3e7
Merge staging-next into staging 2025-01-21 18:05:23 +00:00
Niklas Korz 9e1806e012 nixosTests.mongodb-ce: init 2025-01-21 18:25:39 +01:00
Niklas Korz ac16c51570 nixosTests.mongodb: actually use mongodb service module and add support for mongodb-ce 2025-01-21 18:25:39 +01:00
Niklas Korz fd348f4354 nixosTests.mongodb: migrate from handleTest to runTest 2025-01-21 18:25:39 +01:00
Cosima Neidahl 14b04af9f4
mir,mir_2_15: Fix builds, modernise & fix VM tests (#374873) 2025-01-21 14:28:57 +01:00
Julien Moutinho eb00bbcdaa nixos/public-inbox: fix flaky test by waiting for sockets 2025-01-21 13:50:45 +01:00
Julien Moutinho 3c07862664 nixos/public-inbox: fix test by creating Git repositories
Previously in https://github.com/NixOS/nixpkgs/pull/308740
`BindReadOnlyPaths=` was fixed, but remained mounting non-existing Git repositories:

vm-test-run-public-inbox> machine # [   19.503051] (ox-httpd)[1489]:
public-inbox-httpd.service: Failed to set up mount namespacing:
/var/lib/gitolite/repositories/user/repo1.git: No such file or directory
2025-01-21 13:50:45 +01:00
nixpkgs-ci[bot] 3833577ea0
Merge staging-next into staging 2025-01-21 12:32:11 +00:00
K900 7961122d3e Merge remote-tracking branch 'origin/staging-next' into staging 2025-01-21 15:30:51 +03:00
networkException 549d8a6d44
nixos/tests/nextcloud: fix redis cache non empty tests
This patch changes the implementation of the subtests to
check for redis' cache being non empty to only run redis-cli
and jq in a shell and assert the returned length in python.

This fixes jq "len" simply not compiling and makes sure
regressions get noticed.
2025-01-21 13:13:36 +01:00
networkException 18de1c264e
nixos/tests/nextcloud: use lib instead of pkgs.lib wherever trivial 2025-01-21 13:13:35 +01:00
networkException 9ffa0a5945
nixos/tests/nextcloud: test for notify_push in with-declarative-redis-and-secrets
This patch adds a subtest and corresponding configuration to
with-declarative-redis-and-secrets to test for nextcloud notify_push
to be working, just as in with-postgresql-and-redis.

As notify_push needs to connect to the database, including it
in this test checks that it can read the dbpassFile properly.
2025-01-21 13:13:30 +01:00
Jörg Thalheim c80e750b52
sunshine: 0.23.1 -> 2025.118.151840 (#375153) 2025-01-21 13:06:13 +01:00
K900 441c242855 nixos/tests: fix bonding test 2025-01-21 13:44:36 +03:00
nixpkgs-ci[bot] 26d9061f29
Merge staging-next into staging 2025-01-21 00:14:29 +00:00
Pol Dellaiera f2685b1e2f
pkgs/readeck + nixos/readeck: init (#370354) 2025-01-20 22:22:24 +01:00
Julien Malka 0be7395f95
nixos/readeck: init 2025-01-20 22:17:30 +01:00
Pol Dellaiera af1bc453b3
fider: init at 0.24.0 (#353346) 2025-01-20 20:19:14 +01:00
nixpkgs-ci[bot] ee0d31892a
Merge staging-next into staging 2025-01-20 18:05:23 +00:00
Wolfgang Walther efa0c1b0b8
nixosTests.postgresql.*: fix eval (#375292) 2025-01-20 17:05:03 +01:00
Maximilian Bosch 7ab1e88833
nixosTests.postgresql.*: fix eval
The `libpq` attribute from `postgresqlVersions` doesn't have a `pkgs`
attribute with extensions in it. Filtering for postgresql server
packages only fixes the problem.

Reported in https://github.com/NixOS/nixpkgs/pull/359659#issuecomment-2601045449
2025-01-20 14:29:01 +01:00
Gaétan Lepage 0cda476cd5
sdl3: init at 3.1.8 (#326699) 2025-01-20 14:16:23 +01:00
Morgan Jones 189200a18d
nixos/tests: add boot-stage2 tests
- Test RO store mount even given the presence of filesystems with
  options ending in "ro"
- Test postBootCommands in stage2
2025-01-19 23:52:08 -08:00
Morgan Jones f8eac009ee nixos/mattermost: modernize, support MySQL and mmctl
Based on #198040. Prioritizes backwards compatibility, including
database and plugin compatibility, while adding more sensible
defaults like database peer authentication.

Expand the scope of tests to include plugins (including building
from source) and testing that a piece of media uploads and downloads
to make sure the storage directory doesn't vanish.
2025-01-20 08:07:45 +01:00
Morgan Helton bbc455519f
sunshine: 0.23.1 -> 2025.118.151840 2025-01-19 15:05:28 -06:00
OPNA2608 7c2becf742 nixosTests.miracle-wm: Move the mouse to work around VM setup issues 2025-01-19 19:13:15 +01:00
OPNA2608 d777e99f6a nixosTests.miriway: Move the mouse to work around VM setup issues 2025-01-19 19:13:15 +01:00
OPNA2608 9b520ccbfb nixosTests.miriway: Switch back to commented-out code
It seems to work again.
2025-01-19 19:13:15 +01:00
OPNA2608 d3e2f73277 nixosTests.miracle-wm: Update alacritty config format, switch to pkgs.formats 2025-01-19 19:13:15 +01:00
OPNA2608 952a2afab8 nixosTests.miriway: Update alacritty config format, switch to pkgs.formats 2025-01-19 19:13:15 +01:00
Sandro 49b9166ece
headscale: 0.23.0 -> 0.24.0, cleanup maintainers (#374636) 2025-01-19 14:33:30 +01:00
Sandro Jäckel cc2f4fbf1c
headscale: 0.23.0 -> 0.24.0, cleanup maintainers 2025-01-19 14:08:52 +01:00
Maximilian Bosch a4afb337c3
Merge: nextcloud: remove 28, update apps (#374902) 2025-01-19 12:34:46 +01:00
Pol Dellaiera 54e48b64d1 nixos/fider: init
Co-authored-by: Niklas Korz <niklas@niklaskorz.de>
2025-01-19 12:03:41 +01:00
Julien Malka e5ad45c4b7
FerretDB document defaults, PostgreSQL default URL, disable telemetry (#288493) 2025-01-19 11:01:27 +01:00
nixpkgs-ci[bot] c39935db5b
Merge master into staging-next 2025-01-19 00:15:38 +00:00
Maximilian Bosch 7ef73d05cd
nextcloud28: remove
This major release is dead now.
2025-01-19 00:08:35 +01:00
Gaétan Lepage b60bec4674
cockpit: fix listen port (#371245) (#374667) 2025-01-18 22:11:32 +01:00
nixpkgs-ci[bot] 0cae90809c
Merge master into staging-next 2025-01-18 18:04:10 +00:00
Gaétan Lepage f3161bb4a1
davis: 4.4.4 -> 5.0.2 (#374168) 2025-01-18 13:05:41 +01:00
elratt0r 442e818b52 cockpit: extend test case to not use default port
Closes: #371245
2025-01-18 01:05:35 +01:00
Quentin Frey 80a399ba1b
davis: 4.4.4 -> 5.0.2 2025-01-17 19:22:02 +01:00
nixpkgs-ci[bot] df5a154f88
Merge master into staging-next 2025-01-17 18:04:22 +00:00
Martin Weinelt 31680c6fb4
zwave-js-ui: init at 9.27.8; nixos/zwave-js-ui: init module (#336623) 2025-01-17 18:13:17 +01:00
Adam C. Stephens f3a75905ab
nixos/tests/incus: fix subtest names and add reboot check 2025-01-17 10:11:07 -05:00
Adam C. Stephens 274e0fd934
incus: support per-instance lxcfs
This was added in 6.4 and backported to LTS 6.0.2
2025-01-17 10:11:06 -05:00
Adam C. Stephens 9b660dff6d
incus: fix instance shutdown when softDaemonRestart enabled 2025-01-17 10:11:04 -05:00
nixpkgs-ci[bot] 6df44a359d
Merge master into staging-next 2025-01-17 14:32:26 +00:00
Philip Taron 31f1c93db9
mkBinaryCache: fix nixos/tests/binary-cache.nix (#370773) 2025-01-17 04:50:12 -08:00
K900 22a9d66d31 Merge remote-tracking branch 'origin/master' into staging-next 2025-01-17 15:30:31 +03:00
K900 0fd5f209c1 Merge remote-tracking branch 'origin/master' into staging-next 2025-01-17 11:30:03 +03:00
Alex Galvin 468bfcc486 nixos/autobrr: init 2025-01-16 22:48:07 -05:00
Wolfgang Walther 459db35f4a
nixos/wakapi: fix running under sqlite3; add stateDir; add sqlite test case (#370497) 2025-01-16 21:58:53 +01:00
Christian Theune 0640622eb1 nixos/varnish: fix stateDir to allow direct use of varnishadm 2025-01-16 18:47:16 +01:00
Niklas Korz 7c2e8f1b55 nixos/matomo: migrate tests from handleTest to runTest 2025-01-16 10:53:23 +01:00
Niklas Korz 83eb8d8020 matomo: refactor into single package file 2025-01-16 10:53:23 +01:00
nixpkgs-ci[bot] d4a1995529
Merge master into staging-next 2025-01-16 00:14:11 +00:00
OPNA2608 057d0c76dc lomiri.lomiri-telephony-service: 0.5.3 -> 0.6.0, rename from lomiri.telephony-service 2025-01-15 22:45:08 +01:00
Niklas Korz d7ac52bd81 matomo-beta: remove 2025-01-15 19:48:38 +01:00
Leona Maroni c683d968be
nixos/matomo: fix service failure when not fully set up (#373894) 2025-01-15 19:05:47 +01:00
github-actions[bot] 9129b13110
Merge master into staging-next 2025-01-15 00:14:20 +00:00
Oliver Schmidt fc6d9cc539 nixosTests.matomo: extend test coverage 2025-01-15 01:10:48 +01:00
Chuang Zhu 82daa4a2a5 nixosTests.ejabberd: add mod_matrix_gw 2025-01-15 05:08:03 +08:00
Adam C. Stephens bb45501b6d
zfs_2_1: remove (#358811) 2025-01-14 14:37:08 -05:00
Adam C. Stephens c44bf8b674
zfs_2_3: init at 2.3.0 (#373599) 2025-01-14 13:18:44 -05:00
github-actions[bot] 44e4abfaf6
Merge master into staging-next 2025-01-14 18:04:33 +00:00
Christian Theune 0129b83a02 varnish76: init at 7.6.1 2025-01-14 16:56:33 +01:00
Arne Keller 8042f9612e
pleroma: 2.7.0 -> 2.8.0 (#372324) 2025-01-14 16:46:01 +01:00
Picnoir 6d892712cf nixos/tests/pleroma: fix DB provision race condition
We originally used a systemd preStart command to provision the DB. We
recently extracted this to a proper systemd unit (to go around the
timeout issue). This created a race condition in the VM test.

Restarting explicitely the db provision unit to make sure the
migrations are applied.
2025-01-14 15:56:01 +01:00
Minijackson 3b3764df09
nixos/ferretdb: set default value for PostgreSQL URL
provides a nice default if the end user wants to use the PostgreSQL
backend
2025-01-14 10:38:23 +01:00
github-actions[bot] ae7e95ed1d
Merge master into staging-next 2025-01-14 02:53:34 +00:00
Andrew Marshall 6477277a79 zfs_2_3: init at 2.3.0
Changelog: https://github.com/openzfs/zfs/releases/tag/zfs-2.3.0
2025-01-13 20:19:54 -05:00
Chris Dombroski d7ba3b54d8 nixos/zwave-js-ui: init module
Provides systemd service and allows configuration of data directory
2025-01-13 16:21:23 -05:00
Sandro a3feb24c0b
nixos/zipline: init module (#370878) 2025-01-13 19:39:57 +01:00
github-actions[bot] 51d152f300
Merge master into staging-next 2025-01-13 12:06:21 +00:00
Sandro fa39fa603c
nixos/echoip: init module (#372970) 2025-01-13 11:39:44 +01:00
Sefa Eyeoglu c41581136e
nixos/renovate: Fix ShellCheck issue (#373131) 2025-01-13 10:37:06 +01:00
eljamm f70b3a2afa tests/taler: init basic test
Test build and services start, but libeufin-bank fails when trying to
access the database to change the admin's password.

We need to execute the command as the libeufin-bank user.

tests/taler: add master private key

tests/taler: rewrite `register_bank_account` to Nix

tests/taler: rename libeufin node to bank

tests/taler: use xtaler wire_type instead of iban

tests/taler: remove redundant data from conf files

tests/taler: enable exchange account

tests/taler: remove unused talerConfig

tests/taler: add client node and attempt a withdrawal

tests/taler: systemd_run optional user and group args

tests/taler: refactor and make a withdrawal

tests/taler: refactor tasks into subtests

tests/taler: properly read and test balance

tests/taler: refactor commands and add comments

nixos/taler: rename private key

tests/taler: enable nexus service in bank node

tests/taler: nexus fake incoming payment test

tests/taler: use correct path for nexus client keys

tests/taler: add merchant node

tests/taler: merchant register instance

tests/taler: init pay for order merchant

tests/taler: fix payto uri

tests/taler: withdraw smaller amount

This makes the test faster

tests/taler: verify balance

tests/nixos: debugging merchant payment, cleanup

tests/taler: fix libeufin command, use curl to register accounts

tests/taler: add basic online test

tests/taler: move nodes into separate directory

tests/taler: fix insufficient balance error

Turns out that the exchange wire fees need to be set up (even if they're
0) in order for the CLI wallet to deposit coins into the merchant's bank
account.

tests/taler: improve node importing, port forwarding

tests/taler: import scripts from a separate file

tests/taler: move tests into a sub-directory

tests/taler: manually start services, cleanup

This results in less overhead and conflict since components will not try
to prematurely connect to the ones that haven't finished their set up.

tests/taler: remove online test

This was used to debug the insufficient balance problem, but it's not
really that useful by itself.

tests/taler: add nexus keys

tests/taler: use bank initalAccounts option

taler/tests: use initialAccount

tests/taler: make nexus work

tests/taler: don't run nexus test if there is no internet

tests/taler: use openFirewall, remove manual package install

fix(test): evaluation errors

fix(test): create nexus role by enabling createLocalDatabase
2025-01-13 09:03:30 +01:00
Pol Dellaiera c4ae74f269
mattermost: allow overriding the webapp easily (#373085) 2025-01-13 07:19:24 +01:00
Defelo c48390017c
nixos/tests/zipline: init 2025-01-12 22:46:03 +01:00
Defelo 96dd35f07d
nixos/tests/echoip: init 2025-01-12 20:45:33 +01:00
Victor Engmark 9ec8ebf5ff
nixos/renovate: Add note about linting systemd scripts 2025-01-12 14:47:39 +01:00
github-actions[bot] 507f7fe91e
Merge master into staging-next 2025-01-12 12:05:15 +00:00
Bobby Rong 3cdbf0a9ec
Pantheon 8 (#312449) 2025-01-12 18:12:34 +08:00
Ramses d24ca4701f
nixos/etc-overlay: make the etc overlay compatible with nixos-enter and nixos-install (#364239) 2025-01-12 09:05:57 +01:00
Morgan Jones 13cd3a1f32
mattermost: allow overriding the webapp easily
Add a test since users will often want to make patches to the webapp.
2025-01-11 17:24:41 -08:00
Bobby Rong 9e74210fa1
nixosTests.pantheon-wayland: init
It is unclear to me how to properly start apps so I am using autostart here.
2025-01-11 23:16:53 +08:00
Bobby Rong 1c26dec649
nixosTests.pantheon: Unbreak and restore test for closing multitasking view
* Closing multitasking view seems to work now.
* See the Pantheon 8 PR for session-settings packaging changes.
2025-01-11 23:09:11 +08:00
Bobby Rong b1ebe0ae82
nixos/pantheon: Get rid of bamf
This is not needed with the latest gala and dock.
2025-01-11 23:09:11 +08:00
Bobby Rong 0c0404ee06
pantheon.elementary-dock: reinit at 8.0.1
This is completely rewritten.
2025-01-11 23:09:09 +08:00
github-actions[bot] e0220561a9
Merge master into staging-next 2025-01-11 00:14:32 +00:00
Felix Bühler 5b37e2df1a
nixos/freshrss: organize tests (#372493) 2025-01-10 22:34:17 +01:00
github-actions[bot] 3fc2c8a91f
Merge master into staging-next 2025-01-10 06:05:08 +00:00
Donovan Glover 24a8c64c2b
nixos/caddy: Fix default log file for http:// hostnames (#371802) 2025-01-10 06:04:38 +00:00
github-actions[bot] 847f7c18fb
Merge master into staging-next 2025-01-10 00:14:48 +00:00
oddlama 19e38587b2
nixos/hostapd: run nixfmt-rfc-stylenixos/hostapd: add passwordFile option for structured sae password settings 2025-01-10 00:28:47 +01:00
Felix Buehler 65e8fb2dac nixos/freshrss: organize tests 2025-01-09 23:18:07 +01:00
Leona Maroni 6355c63f9f
Provide NixOS module option to enable the paperless exporter. (#242084) 2025-01-09 22:25:58 +01:00
seth f8db37f3a1
sdl3: init at 3.1.8 2025-01-08 12:09:39 -05:00
Lukas Werling dacfe3f029 nixosTests.caddy: Add test for multiple hostnames 2025-01-07 23:22:10 +01:00
Lukas Werling 21a14a0881 nixosTests.caddy: Fix with-plugins hash 2025-01-07 23:22:09 +01:00
K900 9e51fd8b02 Merge remote-tracking branch 'origin/master' into staging-next 2025-01-06 21:13:31 +03:00
Bjørn Forsman 9f25f899f0 nixosTests.homepage-dashboard: check declarative settings
Check that the custom title is used, or else we don't know that our
settings get applied.
2025-01-06 18:11:16 +01:00
K900 db08c8d4da Merge remote-tracking branch 'origin/staging-next' into staging 2025-01-06 18:21:19 +03:00
Michele Guerini Rocco d575340ffb
nixos/alsa: rebirth from the ashes (#337345) 2025-01-06 11:08:25 +01:00
Thomas Gerbet 9478b2f3e8 nixos/tests/frr: Adjust hello-interval and dead-interval
https://github.com/NixOS/nixpkgs/pull/365164#issuecomment-2572728393
2025-01-06 11:04:34 +01:00
Christian Theune 865ab91155 nixos/paperless: add module options for automated exports
Paperless includes a document exporter that can be used for e.g.
backups.

This change extends the module to provide a way to enable and configure
a timer, export settings, pre- and post-processing
scripts (e.g. to ship the backup somewhere else, clean up, ...).

It works out of the box when just enabling it but can be customized.

Includes suitable tests.
2025-01-06 08:26:23 +01:00
github-actions[bot] a58f8abed0
Merge staging-next into staging 2025-01-06 00:15:41 +00:00
Will Fancher b7ea795937
nixos/overlayfs: add a switch to disable prefixing with /sysroot for initrd mounts (#340763) 2025-01-05 17:56:41 -05:00
Donovan Glover 310cc42940
anbox: drop (#370821) 2025-01-05 22:19:09 +00:00
Thiago Kenji Okada 6e6188af7b
image/images: Adapt remaining images to system.build.image & normalized filenames, (#359345) 2025-01-05 20:28:23 +00:00
Thomas Gerbet 9330230e47 anbox: drop
Upstream project is not maintained anymore and the package
currently does not build.

https://github.com/anbox/.github/blob/main/profile/README.md
2025-01-05 16:16:26 +01:00
thomasjm 6b261ea59d mkBinaryCache: fix nixos/tests/binary-cache.nix 2025-01-04 23:47:04 -08:00
K900 1d9d206c4e Merge remote-tracking branch 'origin/staging-next' into staging 2025-01-05 00:25:30 +03:00
Martin Weinelt 8f3e1f8070
nixos/frigate: Also listen on port 5000 (#370762) 2025-01-04 18:41:09 +01:00
Martin Weinelt 62f35da2a1
nixos/prometheus-exporters/fastly: fix secret handling
The exporter expects the token as an environment variable, not a path
to the file containing the token.
2025-01-04 17:48:56 +01:00
fleaz 22581ea9b5
nixos/tests/frigate: Add check for unauthenticated API 2025-01-04 14:00:15 +01:00
Maximilian Bosch d1e24caf35
gitea: drop myself (ma27) from maintainer list
I recently learned about the way, individuals from the Gitea community
(and company apparently) treat the Forgejo people. Personally, I think
this is entirely inappropriate. I hereby retract my maintainership
since I don't want to support this project with packaging work any
longer.

Luckily, there's a viable alternative available.

[1] https://codeberg.org/forgejo/discussions/issues/251
2025-01-04 13:49:10 +01:00
github-actions[bot] f51e9578c0
Merge staging-next into staging 2025-01-03 19:17:28 +00:00
Robert Schütz 64e0c3052d
immich-public-proxy: init at 1.5.4, nixos/immich-public-proxy: init module (#362907) 2025-01-03 10:16:36 -08:00