Commit graph

10407 commits

Author SHA1 Message Date
transcaffeine dfe1187fea
nextcloud31: init at 31.0.0
Release notes: https://github.com/nextcloud/server/releases/tag/v31.0.0
Upgrade notes: https://docs.nextcloud.com/server/31/admin_manual/release_notes/upgrade_to_31.html
2025-02-26 08:29:34 +01:00
K900 b157c03c40
nixos/tests/acme: Refactor test suite (#378705) 2025-02-26 10:29:20 +03:00
โทสฺตัล b3f93d7292 nixos/h2o: TLS recommendations
From Mozilla’s ssl-config-generator project
2025-02-26 12:26:12 +07:00
Adam C. Stephens c273acfbfe
incus-ui-canonical: 0.14.6 -> 0.15
lxd upstream changelog:
https://github.com/canonical/lxd-ui/releases/tag/0.15
2025-02-25 21:51:20 -05:00
Vlad M. deb331b1f6
aaaaxy: 1.5.256 -> 1.6.0 (#384847) 2025-02-25 17:00:44 +02:00
Atemu 38e5291c59
nixos/iosched: init module (#318600) 2025-02-25 14:14:58 +01:00
Joshua Kobschätzki 49415e02b8 netbox_4_0: removal 2025-02-25 10:44:59 +01:00
Gaétan Lepage dda347e8ef
Rename maintainer soispha to bpeetz (#384309) 2025-02-25 09:20:30 +01:00
Michele Guerini Rocco d249c1cf5a
nixos/tests/dnsdist: fix dnscrypt test (#384884) 2025-02-25 08:04:49 +01:00
Martin Weinelt 35f9b4c165
zigbee2mqtt_2: init at 2.1.1 (#371053) 2025-02-25 05:09:13 +01:00
Mikael Voss 3c0be38ee0
nixos/iosched: init module 2025-02-25 00:08:06 +01:00
Tert0 3b1a5a3938
nixos/tests/dnsdist: fix dnscrypt test 2025-02-24 23:37:13 +01:00
Luflosi d29cce9d75
aaaaxy: 1.5.256 -> 1.6.0
https://github.com/divVerent/aaaaxy/releases/tag/v1.6.0
2025-02-24 19:22:36 +01:00
Sandro Jäckel ad0bf1f4c5
nixos/all-tests: add go-camo 2025-02-24 15:26:44 +01:00
transcaffeine 6f3912bfd3
nixos/tests/gotosocial: adjust for gotosocial 0.18.1+ 2025-02-24 12:41:15 +01:00
โทสฺตัล 093d5cfaea nixos/step-ca: add H2O test 2025-02-24 15:06:34 +07:00
โทสฺตัล 9555f3e8be nixos/step-ca: fixup Caddy comment typos 2025-02-24 15:06:34 +07:00
โทสฺตัล 2281c12585 nixos/step-ca: nixfmt + add Python syntax hint
Helps when writing & using a editor with tree-sitter support
2025-02-24 15:06:34 +07:00
โทสฺตัล d62e8c41bf nixos/h2o: remove unneeded print statement 2025-02-24 15:06:33 +07:00
Pedro Alves 500a8bb9d5 nixos/cross-seed: re-enable test 2025-02-23 21:38:10 +00:00
Felix Buehler 147262748c freshrss: 1.25.0 -> 1.26.0
Diff: https://github.com/FreshRSS/FreshRSS/compare/1.25.0...1.26.0
2025-02-23 17:26:29 +01:00
Alexander V. Nikolaev 2df9bf3523
Add wineWow64Packages as acceptable test targets
Signed-off-by: Alexander V. Nikolaev <avn@avnik.info>
2025-02-23 16:56:23 +02:00
Johannes Kirschbauer d72e06b97e
nixos/step-ca: use pathWith for intermediatePasswordFile (#382214) 2025-02-23 10:52:05 +07:00
Martin Weinelt 904ac731ef
enumer: 1.5.9 -> 1.5.11; evcc: 0.133.0 -> 0.200.2 (#384098) 2025-02-23 02:09:21 +01:00
Martin Weinelt dbdee4ab67
nixos/test/evcc: migrate to runTest 2025-02-23 01:06:56 +01:00
Lucas Savva 229640ed3a nixos/tests/acme: Refactor test suite
Split tests up based on certain use cases:

- http01-builtin: Tests most functionality of the core module, such
 as the systemd and hashing components, whilst utilising lego's built
 in http01 resolution mechanis.
- dns01: Tests only that DNS01 renewal works as expected.
- nginx: Tests nginx compatability
- httpd: Tests httpd compatability
- caddy: Tests caddy compatability
2025-02-22 23:58:29 +00:00
Benedikt Peetz 5aafcb338b
treewide: Rename maintainer soispha to bpeetz 2025-02-22 19:17:06 +01:00
Kevin Cox c95b088856
cross-seed: Remove broken test. (#384279) 2025-02-22 12:03:37 -05:00
Robert Hensing 548f59bb9f
nixos: Document handleTest deprecation (#383870) 2025-02-22 17:23:46 +01:00
Kevin Cox ed86661d93
cross-seed: Remove broken test.
This test has always been broken. The fix is not obvious, there was an attempt to set up mount namespaces, but this will fail if the output directory doesn't exist. In the default configuration it will fail because the directory doesn't exist until cross-seed runs the first time. This points at a real issue with the module that should be addressed. But for now let's remove the broken test, then we can add it back in working condition.

Original PR: https://github.com/NixOS/nixpkgs/pull/383409
2025-02-22 11:06:44 -05:00
K900 ae9e269c73
Revert "nixos/sonarr: add settings option" 2025-02-22 12:15:51 +03:00
Jeremy Fleischman afee631853
nixos/step-ca: use pathWith for intermediatePasswordFile
This lets us remove an assertion, because `pathWith` can require that a
file not be in the store.

Note that the old assertion didn't quite do what we wanted: it prevented
you from using top level store paths (such as
`/nix/store/gg8578vvbcf1wpqvk85bigi5s4pvylkk-test-certificates`), but was
ok with sub-files (such as
`/nix/store/gg8578vvbcf1wpqvk85bigi5s4pvylkk-test-certificates/intermediate-password-file`).

Now that we're stricter, we need some way to populate
`intermediatePasswordFile` in our test without making the type unhappy.
I opted to solve that by creating a file in `/etc`.
2025-02-21 20:39:20 -08:00
Robert Helgesson 44a5b1bdca nixos/grav: init module 2025-02-21 23:09:42 +01:00
Martin Weinelt bf25eae002
nixos/routinator: init module (#380046) 2025-02-21 23:07:21 +01:00
Felix Bühler 3ac3a47fd4
nixos/sonarr: add settings option (#373576) 2025-02-21 20:52:10 +01:00
Felix Buehler 203d5d954c nixos/tests/prometheus-exporters: update exportarr-sonarr test 2025-02-21 20:42:00 +01:00
Peter Lehmann c468f4e261
nixos/routinator: init module 2025-02-21 19:10:18 +01:00
Martin Weinelt 99eabc0ab3
zigbee2mqtt_2: init at 2.1.1
https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.0.0
https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.1.0
https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.1.1
2025-02-21 14:14:41 +01:00
Sandro 0dd6684a7f
zipline: 3.7.13 -> 4.0.0 (#382884) 2025-02-21 13:15:37 +01:00
Robert Hensing 7e3c66897a nixos: Document handleTest deprecation 2025-02-21 12:05:16 +01:00
Johannes Kirschbauer bb8d898f33
nixosTests.step-ca: wait for caddy to finish ACME dance (#382212) 2025-02-21 15:52:13 +07:00
Martin Weinelt 6a397bf109
servo: adopt, update and test (#383495) 2025-02-20 15:53:48 +01:00
Vladimír Čunát e493a167e1
staging-next 2025-02-09 (#380680) 2025-02-20 11:52:15 +01:00
Sandro 938b2abbeb
nixos/cross-seed: init module (#383409) 2025-02-20 11:20:36 +01:00
Pedro Alves 3b3bced9c5 nixos/cross-seed: init module 2025-02-20 09:51:26 +00:00
Martin Weinelt f962ad853b
nixos/tests/servo: init 2025-02-20 05:29:36 +01:00
Defelo 5309357c3e
zipline: 3.7.13 -> 4.0.0 2025-02-19 23:38:35 +01:00
nixpkgs-ci[bot] 3a870eb511
Merge master into staging-next 2025-02-19 18:04:49 +00:00
Sandro f9871f6f33
apacheKafka: init 3.9.0, 3.8.1; drop 3.6 (#359557) 2025-02-19 16:51:15 +01:00
nixpkgs-ci[bot] a8eabdcf7f
Merge master into staging-next 2025-02-19 11:19:10 +00:00
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