Commit Graph

8400 Commits

Author SHA1 Message Date
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
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
Pol Dellaiera
22279cafcc
Merge pull request #317138 from l0b0/ydotool-group
nixos/ydotool: Make group configurable
2024-06-16 10:18:26 +02: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
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
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