Commit Graph

8499 Commits

Author SHA1 Message Date
Will Fancher
2893f56de0
Merge pull request #319359 from misuzu/clevis-zfs-fix
nixos/clevis: add support for parent encrypted zfs datasets
2024-06-24 14:47:55 -04:00
Pol Dellaiera
f95c186eb9
nixos/private-gpt: remove drupol from maintainers 2024-06-24 09:13:15 +02:00
Franz Pletz
3c033186ee
Merge pull request #316727 from jpds/nixos-tests-prometheus
nixos/prometheus: Revamp tests
2024-06-23 23:05:06 +02:00
Martin Weinelt
66adc9c5d1
nixos/tests/home-assistant: test multi-component packages
The spook package includes two separate integrations and the module was
adapted to account for that scenario. Add a test to ensure the changed
keeps working correctly going forward.
2024-06-23 22:09:00 +02:00
Bruno BELANYI
9caa682281
Merge pull request #262892 from l0b0/test/tandoor-script-name 2024-06-22 23:23:35 +01:00
Doron Behar
9c7e7d8f18
Merge pull request #258058 from doronbehar/pkg/transmission_4
transmission: sent a warning and alias it to transmission_3
2024-06-23 00:07:37 +03:00
euxane
2d8626bf0a nixos/cgit: configurable user instead of root
This allows running cgit instances using dedicated users instead of
root. This is now set to "cgit" by default.
2024-06-22 19:45:25 +02:00
euxane
c5dc3e2034 nixos/fcgiwrap: adapt consumer modules and tests 2024-06-22 19:45:25 +02:00
euxane
8101ae41f8 nixos/fcgiwrap: adapt consumer modules and tests 2024-06-22 19:45:25 +02:00
euxane
bf2ad6f48c nixos/fcgiwrap: adapt consumer modules and tests
This also fixes the gitolite-fcgiwrap test by running git through
fcgiwrap as the proper user.
2024-06-22 19:45:25 +02:00
Maximilian Bosch
a71e967ef3
Merge pull request #320983 from Ma27/nc-dbtableprefix
nixos/nextcloud: deprecate dbtableprefix
2024-06-22 16:54:41 +00:00
Nick Cao
0360d42e20
nixos/keycloak: disable keycloak-metrics-spi in tests 2024-06-22 10:23:09 -04:00
K900
7d18aa634e
Merge pull request #321320 from rnhmjoj/pr-libreswan-tests
linux/common-config: enable IPsec over TCP
2024-06-21 18:24:50 +03:00
Aleksana
07f8a394e5
Merge pull request #321519 from lheckemann/maintainership
maintainers: drop lheckemann
2024-06-21 22:59:09 +08:00
Ryan Lahfa
efcabaa056
Merge pull request #298641 from RaitoBezarius/netdata-45
netdata: 1.44.3 -> 1.45.3
2024-06-21 16:04:11 +02:00
Linus Heckemann
e5adf0b547 maintainers: drop lheckemann 2024-06-21 15:54:54 +02:00
Doron Behar
7645dde059 transmission_3: rename from transmission 2024-06-21 12:33:37 +03:00
Tom Hubrecht
b431a6c59b crabfit: Remove thubrecht as maintainer 2024-06-21 09:32:00 +02:00
h7x4
11c5359c4f
Merge pull request #319516 from r-vdp/wstunnel-init
wstunnel: 9.6.2 -> 9.7.0
2024-06-21 09:17:42 +02:00
rnhmjoj
7c021fdfcd
nixos/tests/libreswan-nat: add test 2024-06-21 08:32:43 +02:00
rnhmjoj
818afd9d6d
nixos/tests/libreswan: use runTest 2024-06-21 08:32:42 +02:00
Sandro Jäckel
743d9f835d
maintainers: remove one year inactive maintainer kiwi 2024-06-21 01:38:39 -04:00
Oliver Schmidt
26bae04567 tests/acme: check consistent account hash for legacy settings
To allow migration from 23.11 to 24.05 without triggering re-registrations,
the account hashing behaviour of the previous release can be retained by setting
`security.acme.defaults.server` to `null`.

We better also check for hash consistency with that setting to avoid unexpected
account hash changes again.
2024-06-20 17:22:05 +02:00
K900
20b7b4f619
Merge pull request #320228 from K900/opengl-cleanups
treewide: big opengl cleanups
2024-06-20 12:37:59 +03:00
Raito Bezarius
32a8884ba4 nixos/tests/netdata: use recommended python packages
To maximize the testing surface.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-06-19 22:30:05 +02:00
Sirio Balmelli
6c10cfba34
tests/odoo: fix broken test
Odoo does not initialize the database by default,
it must be explicitly initialized for the test as written to succeed.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-06-19 13:35:23 +00:00
Sirio Balmelli
a972071a31
odoo: 16.0.20231024 -> 17.0.20240507
Preserve 'odoo16' on the same pattern as existing 'odoo15'

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-06-19 13:35:20 +00:00
Victor Engmark
d70be9d211
nixosTests.tandoor-recipes-script-name: init
Verify that all `href` attributes emitted as part of the entrypoint page
after logging in are reachable.

Co-authored-by: Bruno BELANYI <bruno@belanyi.fr>
2024-06-20 00:06:38 +12:00
Artturin
7324a175cf
Merge pull request #320673 from rvl/snapper-systemd-fix
nixos/snapper: Don't create broken snapper-boot.service
2024-06-19 14:59:00 +03:00
Maximilian Bosch
45d2b8b536
nixos/nextcloud: deprecated dbtableprefix
Closes #320381

Installation with a custom dbtableprefix is not allowed anymore for a
while[1] and we shouldn't advertise it as such.

The option is deprecated for now since I'm not sure if there are some
weird corner-cases where removing the option directly would break
existing installations from before <20 with a custom dbtableprefix. The
migration-path for such a case is as follows:

* Check if /var/lib/nextcloud/config/config.php has the correct
  dbtableprefix set and if not, take care of it.
* Remove `dbtableprefix` from the NixOS configuration. It's effectively
  state anyways.

After a bit of time to switch (perhaps after the next release
branchoff), the option can be removed.

[1] https://github.com/nextcloud/server/issues/24836
2024-06-19 11:43:33 +02:00
Pol Dellaiera
da9d79d6bc
nixos/searx: reformat tests with nixfmt-rfc-style 2024-06-19 07:06:43 +02:00
Pol Dellaiera
931b1bb0f1
nixos/searx: switch from handleTest to runTests 2024-06-19 07:06:43 +02:00
Martin Weinelt
ce935af53c
Merge pull request #317530 from thiagokokada/add-flood-service
nixos/flood: init
2024-06-19 01:23:41 +02:00
Maximilian Bosch
3734012f61
Merge pull request #319048 from Ma27/nc-objectstore-and-cleanup
nixos/nextcloud: add objectstore test, refactor testing structure
2024-06-18 14:40:55 +00:00
Thiago Kenji Okada
1cfd74809b nixos/flood: init 2024-06-18 08:47:29 -03:00
h7x4
4c7c3ceb12
nixosTests.wstunnel: init
Co-authored-by: r-vdp <ramses@well-founded.dev>
2024-06-18 11:07:06 +03:00
Rodney Lorrimar
52ef91d339
nixos/snapper: Don't create broken snapper-boot.service 2024-06-18 10:31:50 +08:00
Jonathan Davies
412cce1388 apacheKafka: Drop 3.5 series 2024-06-17 09:15:54 +02:00
Jonathan Davies
4e5d904350 apacheKafka: init 3.7.0. make default 2024-06-17 09:14:13 +02:00
Sarah Brofeldt
27a384a0ab apacheKafka: drop 3.4 and older
General cleanup -- following the logic that NixOS 23.11 contains Kafka
3.5, so there is a sensible upgrade path for everyone as long as we keep
that around until after the next release.
2024-06-17 09:01:28 +02:00
Sarah Brofeldt
1f45118e73 apacheKafka: init version 3.6.1, make default 2024-06-17 09:01:28 +02:00
Jonathan Davies
87bded6713
nixos/quickwit: Added ingest/query test by Thomas Cheronneau 2024-06-16 23:18:41 +01:00
Jonathan Davies
d7581094f9
nixos/quickwit: Created subtest for verifying UI installation 2024-06-16 23:18:40 +01:00
Sandro
f88f5fec3e
Merge pull request #318933 from mweinelt/vaultharden
nixos/vaultwarden: update state directory name, harden systemd unit
2024-06-16 13:31:10 +02:00
K900
98cef4c273 treewide: big opengl cleanup
- rename hardware.opengl to hardware.graphics
- remove hardware.opengl.driSupport, which does nothing
- remove hardware.opengl.setLdLibraryPath, which should never be done
- rename hardware.opengl.driSupport32Bit to hardware.graphics.enable32Bit
- lost of small docs / formatting cleanups
2024-06-16 14:11:33 +03:00
Pol Dellaiera
22279cafcc
Merge pull request #317138 from l0b0/ydotool-group
nixos/ydotool: Make group configurable
2024-06-16 10:18:26 +02:00
Tim Waterhouse
72406a54e7
nixos/vaultwarden: backup all rsa_keys
The official documentation mentions rsa_key* as what should be backed up (https://github.com/dani-garcia/vaultwarden/wiki/Backing-up-your-vault#the-rsa_key-files). My particular install has rsa_key.pem and rsa_key.pub.pem so the existing command fails when trying to copy rsa_key.der. This change better aligns with the official documentation.
2024-06-15 20:49:59 -07:00
Martin Weinelt
be53df7236
nixos/vaultwarden: harden systemd unit
Drops the capability to bind to privileged ports.
2024-06-16 01:33:12 +02:00
Sandro
aa6f59e07e
Merge pull request #292857 from SuperSandro2000/vaultwarden-backup-test
nixos/vaultwarden: add test for backup script
2024-06-15 23:47:10 +02:00
Pol Dellaiera
7938d40a60
Merge pull request #316239 from arjan-s/qtile-sessions
qtile: install proper session .desktop files for both xorg and wayland
2024-06-15 19:57:54 +02:00
Savyasachee Jha
b9e13e3528 nixos/tests/firefly-iii: Use postgres 16 2024-06-15 19:01:08 +05:30
Franz Pletz
609604413b
Merge pull request #319080 from Luflosi/update/kubo
kubo: 0.28.0 -> 0.29.0
2024-06-14 17:38:51 +02:00
h7x4
d8ddf6fb6d
Merge pull request #287611 from h7x4/nixos-module-fixup-kerberos-server
nixos/kerberos_server: use krb format generator, plus misc cleanup
2024-06-14 17:04:55 +02:00
Victor Engmark
408406c2ff
nixos/ydotool: Make group configurable
Allows users to refer to `config.programs.ydotool.group` rather than
hard-coding "ydotool".

Allows users to override the group name for whatever reason.

This closes #317013.

Co-authored-by: Cosima Neidahl <opna2608@protonmail.com>
2024-06-14 10:07:28 +12:00
Victor Engmark
9b6eb83332
nixosTests.ydotool: Split up tests
Allows the tests to run in parallel.

Co-authored-by: Zitrone <nix@dev.quantenzitrone.eu>
2024-06-14 10:04:58 +12:00
nikstur
2d15501141
Merge pull request #314579 from ivan770/etc-direct-symlinks
nixos/etc: support direct symlinks with etc overlay
2024-06-13 17:01:35 +02:00
Florian Klink
eabd9c36d9
Merge pull request #318604 from jmbaur/pref64-networkd
nixos/systemd-networkd: add PREF64 related options
2024-06-12 22:09:54 +03:00
misuzu
4df3c4c17b nixos/clevis: add support for parent encrypted zfs datasets 2024-06-12 21:21:50 +03:00
Pol Dellaiera
7d270d53b9
Merge pull request #303429 from timhae/aria2-module
Aria2 module settings
2024-06-12 19:23:44 +02:00
Maximilian Bosch
0b31ada92b
nixos/nextcloud: refactor tests
The tests had very much duplication and some if it was even wrong! For
instance, `withRcloneEnv` in the MySQL test didn't have the `"$@"` at
the bottom to execute commands passed to it. Because of that, the MySQL
testcase never checked whether files can be uploaded.

Since tests are just another module-system I decided to abstract away
common things by using it:

* Define a base module with
  * an empty `client` node and a `nextcloud` node with defaults
    shared among all tests.
  * rclone scripts that are used by all tests.
  * a `testScript` checking upload/download. Additional checks can be
    added via `test-helpers.extraTests`.

* Make common information such as admin user & password shared via
  options.

Also, changed the following things:

* The `name` of the final derivation also includes the Nextcloud major
  it was tested against.

* Improved the objecstore test by making sure the file was actually
  uploaded into the bucket.
2024-06-12 10:55:26 +02:00
Sandro
b4cb66799a
nixos/tests/vaultwarden: check for attachments, too 2024-06-12 10:46:30 +02:00
OTABI Tomoya
1f278a2082
Merge pull request #318384 from NyCodeGHG/nixos/renovate
nixos/renovate: init
2024-06-12 10:05:27 +09:00
Marie Ramlow
dd8e2c72ad nixosTests.renovate: init vm test 2024-06-11 18:57:09 +02:00
Luflosi
4f8d158986
kubo: 0.28.0 -> 0.29.0
https://github.com/ipfs/kubo/releases/tag/v0.29.0

The FUSE mount functionality is no longer completely broken, so reenable the NixOS test.
2024-06-11 15:47:09 +02:00
h7x4
d952db86c9
nixos/vaultwarden: add test for backup script, fix flaky sqlite test 2024-06-11 13:10:44 +02:00
Maximilian Bosch
6ecafb1c38
nixos/nextcloud: fix objectstore/s3 test
* Make sure `withRcloneEnv` actually invokes the command it gets as
  `argv`. Until no, nothing was uploaded. This mistake was copied from
  the MySQL test that appears to have the same issue (will be addressed
  in the next commit).

* Test upload/download through with rclone once to see if Nextcloud
  interaction with S3 works fine.

* Make sure we actually have something in the bucket (until now with an
  `ls` and no real check, will do some larger cleanups and make this
  better in the next commit).

* Use actual AWS-style access keys.
2024-06-11 12:37:42 +02:00
Tom Fitzhenry
725777250b nixos/shadow: introduce security.shadow.enable
Allow users to disable the shadow authentication suite.

My primary motivation is to reduce the attack surface via setuid
binaries, which shadow understandably introduces many. I realised,
however, that I don't use any of these.

The test demonstrates login working without needing the shadow suite.
2024-06-11 19:28:32 +10:00
Jared Baur
d4d5fd718d
nixos/clatd: make client fetch PLAT prefix dynamically
We can expose the PLAT prefix to the client via DNS64 so clatd is able
to determine the prefix dynamically. We can also test that some
systemd-networkd PREF64 settings work as expected when exposed on the
router.
2024-06-11 00:41:10 -07:00
Sandro
4a77c223c9
Merge pull request #269460 from tie/pghero
pghero: init at 3.4.1
2024-06-11 01:00:56 +02:00
Florian Klink
d2d2467118
Merge pull request #318306 from flokli/grafana-alloy-module
grafana-alloy: add NixOS module
2024-06-10 19:36:36 +03:00
Arjan Schrijver
50643d3a98 qtile: use proper session .desktop files 2024-06-10 14:34:23 +02:00
Jonas Heinrich
de1f4538e8
nixos/tests/nextcloud: Add test for object store 2024-06-10 13:52:55 +02:00
Florian Klink
1fa96ce4df grafana-alloy, nixos/alloy: add hbjydev to maintainers 2024-06-10 13:40:45 +03:00
Florian Klink
c12da48755 nixosTests.alloy: init VM test
This adds a VM test, starting up Grafana Alloy and ensuring it comes
up healthy.
2024-06-10 13:35:33 +03:00
Christian Kögler
3844793c02
Merge pull request #318449 from ck3d/nixos-test-machinectl-cgroup2
nixos/tests/machinectl: add workaround for nix-build
2024-06-10 07:43:49 +02:00
Christian Kögler
181e82f4b2 nixos/tests/machinectl: add workaround for nix-build 2024-06-10 07:42:21 +02:00
1sixth
f862ae2e31
nixos/tests/mpv: adapt to the new mpv wrapper 2024-06-10 09:34:50 +08:00
Martin Weinelt
091d852f6f
nixos/tests/prometheus-exporters: add test script for fastly-exporter 2024-06-10 02:59:16 +02:00
Francesco Gazzetta
4085796c8c nixosTests.ladybird: use programs.ladybird option 2024-06-09 08:18:31 +00:00
h7x4
195d155a1c
nixos/kerberos_server: use krb format generator, plus misc cleanup
- Introduce more possible options by using the krb format generator.
- Enforce package choice is using a correct package.
- Use meta attribute to decide implementation, allows for overriding the
  package.
- Make necessary changes to the format, to allow for multiple ACL files in
  heimdal.
- Add systemd target and slice for both implementations.
- Move state to `/var/lib`
- Add documentation
2024-06-08 23:29:53 +02:00
Florian Klink
6a3a382d5b nixos/mycelium: add mycelium binary to systemPackages
It's now possible to invoke `mycelium {routes,peers} list`.
2024-06-08 15:01:32 +03:00
Tom Fitzhenry
9e4e5d96f1 tests/openssh: use upstream's algorithms in "no openssl" example
When I initially wrote this test, I wasn't aware that services.openssh
could opt into using OpenSSH's default algorithms by just setting the
relevant settings to null.

That's a better approach since:
* it's a simpler setting for this test to have to worry about
* it introduces test coverage for the null case
* the null case should be demonstrated as an example for those that
  want to compile without OpenSSL
2024-06-08 15:03:08 +10:00
Martin Weinelt
121ba21838
Merge pull request #286999 from SuperSandro2000/acme-check-account-hash
tests/acme: check consistent account hash
2024-06-07 23:57:20 +02:00
OPNA2608
6477cb49a5 nixos/lomiri: Add file manager 2024-06-07 11:37:53 +02:00
OPNA2608
4a495ec755 tests/lomiri-filemanager-app: init 2024-06-07 11:37:49 +02:00
ajs124
2bcef047dc
Merge pull request #317087 from baloo/baloo/nixosTest.lvm2/stage1-xfs
nixosTests.lvm2: stage1 tests use xfs
2024-06-06 20:58:45 +02:00
ajs124
84cb7f5eb5
Merge pull request #317084 from baloo/baloo/kvdo/kernel-5.17
kvdo: build is broken on kernel < 5.17
2024-06-06 19:42:32 +02:00
Sandro
345330c768
Merge pull request #291552 from SuperSandro2000/bash-completion-package-option 2024-06-06 15:22:21 +02:00
Sandro Jäckel
1c60f0a9a0 nixos/bash-completion: move options to programs.bash.completion, add package option, drop with lib
This allows to easily test bash-completion updates without triggering a mass rebuild locally.
2024-06-06 02:51:06 +02:00
Jonathan Davies
c31c69206f
nixos/vector: Added syslog→Quickwit testcase 2024-06-06 00:49:39 +01:00
Jonathan Davies
237353040e
nixos/quickwit: Added testcase 2024-06-06 00:49:38 +01:00
Adam C. Stephens
af4ac075a3
Merge pull request #312523 from emilylange/nixos-forgejo-secrets
nixos/forgejo: refactor secrets, add `cfg.secrets`, forgejo: build `environment-to-ini`, nixos/tests/forgejo: test `cfg.secrets` using /metrics endpoint
2024-06-05 10:01:37 -04:00
Florian Klink
40066ba0d8
Merge pull request #316168 from dawidd6/systemd-user-generators
nixos/systemd: link user-generators
2024-06-05 09:59:29 +02:00
emilylange
fd58d2299b
nixos/tests/forgejo: test cfg.secrets using /metrics endpoint
Heavily inspired by b59e5a34e7 (gitea).
2024-06-05 00:46:00 +02:00
Pol Dellaiera
6b6d4aeb35
Merge pull request #316248 from shivaraj-bh/open-webui
open-webui: init at 0.2.4
2024-06-04 15:47:03 +02:00
shivaraj-bh
f66cb82fef nixos/open-webui: init 2024-06-04 16:46:19 +05:30
Jörg Thalheim
7c503a8a9d
Merge pull request #315927 from Artturin/movetestsnix1
nixosTests.nix-misc: split from nixosTests.misc
2024-06-04 10:18:25 +02:00
Arthur Gautier
70fcd3ebf6 nixosTests.lvm2: stage1 tests use xfs 2024-06-03 20:50:39 -07:00
Arthur Gautier
265f31677e kvdo: build is broken on kernel < 5.17
complete_and_exit has been renamed to kthread_complete_and_exit
2024-06-03 20:48:47 -07:00
Jonathan Davies
2c6830c47e
nixos/prometheus: Move config reload test to subtest 2024-06-03 20:33:28 +01:00