Commit Graph

8441 Commits

Author SHA1 Message Date
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
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
Jonathan Davies
0c99c5f8b7
nixos/prometheus: Added Alertmanager test case 2024-06-03 20:33:28 +01:00
Jonathan Davies
38495e1ec0
nixos/prometheus: Added federation test case 2024-06-03 20:33:24 +01:00
Jonathan Davies
87cb2d582e
nixos/prometheus: Added pushgateway test case 2024-06-03 20:33:23 +01:00
Jonathan Davies
61e7915267
nixos/prometheus: Added remote-write test case 2024-06-03 20:33:22 +01:00
Jonathan Davies
d6296eceaf
nixos/prometheus: Added simple two Prometheus server testcase 2024-06-03 20:33:21 +01:00
Jonathan Davies
d276f0573b
nixos/prometheus: Renamed existing Prometheus test to Thanos. 2024-06-03 20:33:13 +01:00
Doron Behar
459335513a
Merge pull request #315555 from doronbehar/pkg/musescore
musescore: 4.3.0 -> 4.3.1
2024-06-03 21:20:15 +03:00
Doron Behar
138ad7b73a nixos.tests.musescore: fix and improve
- Use the print dialog to create a sample score.
- Copy also the sample score from the vm to $out of the test.
- Create a bit more screenshots
- Only use machine.wait_for_window, never machine.wait_for_text which
  requires OCR which is slow.
- Set XDG_RUNTIME_DIR so it won't dump core.
2024-06-03 03:16:47 +03:00
Sandro
fa7656236f
Merge pull request #299995 from tie/centrifugo-tests-fix-shards 2024-06-02 23:09:48 +02:00
Peder Bergebakken Sundt
080af6461e
Merge pull request #314294 from james-atkins/mealie-update
mealie: 1.2.0 -> 1.7.0
2024-05-31 20:41:37 +02:00
Azat Bahawi
4a9b788bf5
Merge pull request #315749 from Sigmanificient/qtile-vm-fix
nixos/tests/qtile: run only on linux
2024-05-31 18:31:08 +03:00
Dawid Dziurla
0133e21626
nixos/tests/podman: add test for rootless quadlet 2024-05-31 16:02:15 +02:00
Thomas Gerbet
4e2290525d
Merge pull request #314618 from gaykitty/stargazer-1.2.1
stargazer: 1.1.0 -> 1.2.1
2024-05-31 12:57:03 +02:00
Tom Fitzhenry
f1c7c63c69 Remove tomfitzhenry@ from some maintainership
I don't use these programs anymore, sadly.
2024-05-31 10:47:29 +10:00
Maximilian Bosch
83db4d8162
Merge pull request #315307 from Ma27/kernel-generic-test
nixos/tests/kernel-generic: add linux_rt_6_6
2024-05-30 17:30:03 +00:00
Artturin
e60c483eb9 nixosTests.misc: Remove nix tests
Moved to `nixosTests.nix-misc`
2024-05-30 19:11:27 +03:00
Artturin
53a2215917 nixosTests.misc: Revert nix changes
nix tests now moved to `nixosTests.nix-misc`

Revert "nixos/tests/misc: support old and new path-info output structure"

This reverts commit 903f315fe5.

Revert "nixos/tests/misc: call the tester `test` to be `callTest`-ed"

This reverts commit b35ccb7fda.

Revert "nixos/tests/misc: rework and take ownership"

This reverts commit 81854ca604.
2024-05-30 19:11:27 +03:00
Artturin
e124b02edd nixosTests.nix-misc: Split from nixosTests.misc
Bit weird to have nix tests in misc

Add `artturin` to maintainers
2024-05-30 19:11:27 +03:00
Jörg Thalheim
5da922e0d7
Merge pull request #315857 from mweinelt/misc-test-pathinfo-variants
nixos/tests/misc: support old and new path-info output structure
2024-05-30 16:05:06 +02:00
Martin Weinelt
903f315fe5
nixos/tests/misc: support old and new path-info output structure 2024-05-30 13:02:44 +02:00
Martin Weinelt
884a0835ef
nixos/tests/networkd: make client reliable in dhcpserver-static-leases test
Migrate the client to a native networkd configuration and reduce
unrelated log spam.
2024-05-30 12:29:36 +02:00
Francesco Gazzetta
ce3303220a domination: 1.2.9 -> 1.3.0 2024-05-30 07:28:44 +00:00
Niklas Hambüchen
1be34af9f9
Merge pull request #315499 from nh2/turbovnc-fix-negative-test
turbovnc.tests: Fix negative test
2024-05-30 02:46:23 +00:00
Franz Pletz
4e1b4397d9
Merge pull request #312472 from Ma27/networkd-option-rename
nixos/networkd: get rid of *Config attributes in lists
2024-05-30 04:06:01 +02:00
Sigmanificient
e4764987ce nixos/tests/qtile: Run only on linux 2024-05-30 02:24:26 +02:00
Martin Weinelt
bff993871e
nixos/tests/systemd-networkd-ipv6-prefix-delegation: set kea subnet id
Kea since version 2.6.0 requires it to be set.
2024-05-30 01:37:53 +02:00
Martin Weinelt
cecc91b1b4
nixos/test/kea: set subnet id
They have become mandatory as of Kea 2.6.0.
2024-05-30 01:36:58 +02:00
Cosima Neidahl
33ce263359
Merge pull request #315117 from OPNA2608/fix/lomiri-24.05-buildable
lomiri.*: Make buildable while waiting for GLib fix
2024-05-29 08:43:42 +02:00
Niklas Hambüchen
613d50c1d5 turbovnc.tests: Replace comment link by newer NixOS manual link 2024-05-29 03:15:44 +00:00
Niklas Hambüchen
cd519b6101 turbovnc.tests: Don't override already-empty password to empty 2024-05-29 03:12:28 +00:00
Niklas Hambüchen
1f77a3c14b turbovnc.tests: Fix passwordless test VM root login 2024-05-29 03:08:47 +00:00
Niklas Hambüchen
1be779cf3c turbovnc.tests: Fix negative test failing due to string grep 2024-05-29 03:07:43 +00:00
Ivan Trubach
a5499ee535 nixos/pghero: init 2024-05-29 03:40:48 +03:00
abysssol
c01818d57c
Merge pull request #314722 from abysssol/ollama-split-listenaddress
nixos/ollama: split `listenAddress` into `host` and `port`
2024-05-28 15:37:51 +00:00
Maximilian Bosch
7ee58e38d3
nixos/tests/kernel-generic: add linux_rt_6_6
Noticed while reviewing #315121.
2024-05-28 11:38:06 +02:00
Jan Tojnar
d552665012
Merge pull request #315046 from honnip/fix-gnome-extensions-test
nixosTests.gnome-extensions: fix test
2024-05-28 09:46:45 +02:00
Jonas Chevalier
5d6d058646
Merge pull request #308090 from mogeko/service-rke2
nixos/rke2: add rke2 service
2024-05-28 09:36:03 +02:00
Mogeko
b8e5799a63
nixos/tests/rke2: add tests for single-node and multi-node
For multi-node test, create a 3-node cluster (2 server nodes and 1 agent node) to test the connection between nodes.

Setup `passthru.tests`.
2024-05-28 12:39:38 +08:00
OPNA2608
3ef60ac499 lomiri.telephony-service: Mark broken & exclude everywhere
Needs a GLib change to be fixed, which needs a staging cycle, which I was told won't happen in time anymore.
Luckily it's not a crucial component for the desktop mode.
2024-05-27 17:08:53 +02:00
Honnip
b2069e7fc7
nixosTests.gnome-extensions: ENABLED and DISABLED states are renamed
01e9724d75
Fix the test failure caused by the renaming of the states name from `ENABLED`, `DISABLED` to `ACTIVE` and `INACTIVE`
2024-05-27 18:04:55 +09:00
Honnip
d7062ba870
nixosTests.gnome-extensions: emoji-selector has been removed 2024-05-27 17:57:48 +09:00
Thomas Gerbet
00015f3ef9
Merge pull request #309036 from tomfitzhenry/sshd-package
nixos/ssh: add services.openssh.package
2024-05-27 09:40:31 +02:00
Robert Scott
d7ac3b8504
Merge pull request #314573 from justinas/teleport-15-3-7
teleport_15: 15.2.2 -> 15.3.7,  teleport_14: 14.3.0 -> 14.3.20, teleport_13: remove
2024-05-26 22:44:01 +01:00
Maximilian Bosch
a5f800ab48
Merge pull request #311701 from Ma27/bump-grafana
grafana: 10.4.2 -> 11.0.0
2024-05-26 20:47:56 +00:00
Justinas Stankevicius
07709ea936 teleport_13: remove 2024-05-26 23:43:40 +03:00
abysssol
428e60cad9 nixos/ollama: split listenAddress into host and port
breaking change; do not backport
2024-05-25 21:22:15 -04:00
gaykitty
43b1df204b stargazer: 1.1.0 -> 1.2.1 2024-05-25 10:38:39 -04:00
ivan770
1b288bca00
nixos/etc: support direct symlinks with etc overlay 2024-05-25 08:41:24 -04:00
Pol Dellaiera
d091b7f681
Merge pull request #313112 from savyajha/firefly-iii
firefly-iii: 6.1.15 -> 6.1.16
2024-05-25 10:41:44 +02:00
Andrew Morgan
fc81ca6408 mealie: add 'anoa' as maintainer
I'm happy to help maintain this package going forwards.
2024-05-24 09:17:47 -05:00
Jonas Heinrich
2d53258c2e nixos/tests/stalwart-mail: add onny as maintainer 2024-05-24 12:25:54 +02:00
Jonas Heinrich
dfe479c64e nixos/tests/stalwart-mail: drop legacy package 2024-05-24 12:20:38 +02:00
Pol Dellaiera
d9062cd5f9
Merge pull request #313146 from malteneuss/add-nextjs-ollama-llm-ui
Add nextjs ollama llm UI frontend for Ollama
2024-05-24 06:51:37 +02:00
Malte Neuss
8a05b4f8d4 nixos/nextjs-ollama-llm-ui: init module
NixOS already has good support for the Ollama
backend service. Now we can benefit from
having a convenient web frontend as well for it.
2024-05-23 23:48:55 +02:00
OPNA2608
01152519d6 nixos/tests/lomiri: Fix sound indicator subtest name
It's an ayatana one, not a lomiri one.
2024-05-23 20:40:15 +02:00
OPNA2608
d29e469f2a nixos/lomiri: Add display indicator 2024-05-23 20:37:34 +02:00
OPNA2608
d4a5183180 ayatana-indicator-display: init at 24.5.0 2024-05-23 20:35:51 +02:00