about summary refs log tree commit diff
path: root/nixos/tests
AgeCommit message (Collapse)AuthorFilesLines
2024-06-20Merge pull request #320228 from K900/opengl-cleanupsK9007-10/+8
treewide: big opengl cleanups
2024-06-19tests/odoo: fix broken testSirio Balmelli1-0/+12
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-19odoo: 16.0.20231024 -> 17.0.20240507Sirio Balmelli1-0/+1
Preserve 'odoo16' on the same pattern as existing 'odoo15' Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-06-19Merge pull request #320673 from rvl/snapper-systemd-fixArtturin1-1/+4
nixos/snapper: Don't create broken snapper-boot.service
2024-06-19nixos/searx: reformat tests with `nixfmt-rfc-style`Pol Dellaiera1-80/+84
2024-06-19nixos/searx: switch from `handleTest` to `runTests`Pol Dellaiera2-7/+3
2024-06-19Merge pull request #317530 from thiagokokada/add-flood-serviceMartin Weinelt2-0/+28
nixos/flood: init
2024-06-18Merge pull request #319048 from Ma27/nc-objectstore-and-cleanupMaximilian Bosch5-202/+261
nixos/nextcloud: add objectstore test, refactor testing structure
2024-06-18nixos/flood: initThiago Kenji Okada2-0/+28
2024-06-18nixos/snapper: Don't create broken snapper-boot.serviceRodney Lorrimar1-1/+4
2024-06-16nixos/quickwit: Added ingest/query test by Thomas CheronneauJonathan Davies1-0/+69
2024-06-16nixos/quickwit: Created subtest for verifying UI installationJonathan Davies1-0/+3
2024-06-16Merge pull request #318933 from mweinelt/vaulthardenSandro1-6/+9
nixos/vaultwarden: update state directory name, harden systemd unit
2024-06-16treewide: big opengl cleanupK9007-10/+8
- 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-16Merge pull request #317138 from l0b0/ydotool-groupPol Dellaiera1-94/+163
nixos/ydotool: Make group configurable
2024-06-16nixos/vaultwarden: harden systemd unitMartin Weinelt1-6/+9
Drops the capability to bind to privileged ports.
2024-06-15Merge pull request #292857 from SuperSandro2000/vaultwarden-backup-testSandro2-127/+139
nixos/vaultwarden: add test for backup script
2024-06-15Merge pull request #316239 from arjan-s/qtile-sessionsPol Dellaiera1-1/+1
qtile: install proper session .desktop files for both xorg and wayland
2024-06-15nixos/tests/firefly-iii: Use postgres 16Savyasachee Jha1-1/+3
2024-06-14Merge pull request #319080 from Luflosi/update/kuboFranz Pletz2-4/+2
kubo: 0.28.0 -> 0.29.0
2024-06-14Merge pull request #287611 from h7x4/nixos-module-fixup-kerberos-serverh7x42-2/+2
nixos/kerberos_server: use krb format generator, plus misc cleanup
2024-06-14nixos/ydotool: Make group configurableVictor Engmark1-0/+43
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-14nixosTests.ydotool: Split up testsVictor Engmark1-96/+122
Allows the tests to run in parallel. Co-authored-by: Zitrone <nix@dev.quantenzitrone.eu>
2024-06-13Merge pull request #314579 from ivan770/etc-direct-symlinksnikstur1-0/+4
nixos/etc: support direct symlinks with etc overlay
2024-06-12Merge pull request #318604 from jmbaur/pref64-networkdFlorian Klink1-24/+71
nixos/systemd-networkd: add PREF64 related options
2024-06-12Merge pull request #303429 from timhae/aria2-modulePol Dellaiera2-0/+44
Aria2 module settings
2024-06-12nixos/nextcloud: refactor testsMaximilian Bosch5-278/+230
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-12nixos/tests/vaultwarden: check for attachments, tooSandro1-0/+1
2024-06-12Merge pull request #318384 from NyCodeGHG/nixos/renovateOTABI Tomoya2-0/+70
nixos/renovate: init
2024-06-11nixosTests.renovate: init vm testMarie Ramlow2-0/+70
2024-06-11kubo: 0.28.0 -> 0.29.0Luflosi2-4/+2
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-11nixos/vaultwarden: add test for backup script, fix flaky sqlite testh7x42-127/+138
2024-06-11nixos/nextcloud: fix objectstore/s3 testMaximilian Bosch1-13/+22
* 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-11nixos/shadow: introduce security.shadow.enableTom Fitzhenry2-0/+50
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-11nixos/clatd: make client fetch PLAT prefix dynamicallyJared Baur1-24/+71
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-11Merge pull request #269460 from tie/pgheroSandro2-0/+64
pghero: init at 3.4.1
2024-06-10Merge pull request #318306 from flokli/grafana-alloy-moduleFlorian Klink2-0/+33
grafana-alloy: add NixOS module
2024-06-10qtile: use proper session .desktop filesArjan Schrijver1-1/+1
2024-06-10nixos/tests/nextcloud: Add test for object storeJonas Heinrich2-0/+98
2024-06-10grafana-alloy, nixos/alloy: add hbjydev to maintainersFlorian Klink1-1/+1
2024-06-10nixosTests.alloy: init VM testFlorian Klink2-0/+33
This adds a VM test, starting up Grafana Alloy and ensuring it comes up healthy.
2024-06-10Merge pull request #318449 from ck3d/nixos-test-machinectl-cgroup2Christian Kögler1-0/+24
nixos/tests/machinectl: add workaround for nix-build
2024-06-10nixos/tests/machinectl: add workaround for nix-buildChristian Kögler1-0/+24
2024-06-10nixos/tests/mpv: adapt to the new mpv wrapper1sixth1-1/+1
2024-06-09nixosTests.ladybird: use programs.ladybird optionFrancesco Gazzetta1-3/+1
2024-06-08nixos/kerberos_server: use krb format generator, plus misc cleanuph7x42-2/+2
- 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-08nixos/mycelium: add mycelium binary to systemPackagesFlorian Klink1-0/+3
It's now possible to invoke `mycelium {routes,peers} list`.
2024-06-08tests/openssh: use upstream's algorithms in "no openssl" exampleTom Fitzhenry1-6/+8
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-07Merge pull request #286999 from SuperSandro2000/acme-check-account-hashMartin Weinelt1-2/+6
tests/acme: check consistent account hash
2024-06-07nixos/lomiri: Add file managerOPNA26081-1/+1