Commit graph

8895 commits

Author SHA1 Message Date
Bobby Rong b3784b8153
treewide: Fix switchboard executable name 2024-08-24 14:31:20 +08:00
Gabriella Gonzalez 0b6fa5ee40
virtualisation.oci-containers: Add new imageStream option (#335430)
This adds a new `imageStream` option that can be used in conjunction
with `pkgs.dockerTools.streamLayeredImage` so that the image archive
never needs to be materialized in the `/nix/store`.  This greatly
improves the disk utilization for systems that use container images
built using Nix because they only need to store image layers instead of
the full image.  Additionally, when deploying the new system and only
new layers need to be built/copied.
2024-08-24 04:38:27 +02:00
Donovan Glover d3353b074b
Merge pull request #336286 from oluceps/update-dae
dae: 0.7.0 -> 0.7.1
2024-08-23 19:35:53 +00:00
oddlama aa6cbcbf09
nixos/kanidm: run nixfmt-rfc-style 2024-08-23 20:55:03 +02:00
oddlama 391d05ce95
nixos/kanidm: update provisioning to allow multiple origin urls 2024-08-23 20:46:53 +02:00
Sarah Brofeldt f372ec38b1
Merge pull request #334417 from r-ryantm/auto-update/kubernetes
kubernetes: 1.30.2 -> 1.31.0
2024-08-23 12:24:08 +02:00
Jörg Thalheim 33b5aab88f nixosTest.nix-upgrade: try to garbage collect with old nix 2024-08-23 11:06:48 +02:00
Jörg Thalheim d01abc5602 nixosTest.nix-upgrade: actually use nix-daemon for build
root by-passes nix-daemon
2024-08-23 11:06:48 +02:00
Tom Bereknyei c4dffb6513 nixosTest.nix-upgrade: init
Test out both nix upgrade-nix and a NixOS upgrade.

Inject a fake fallback-paths.nix assuming a stable -> latest upgrade.

The NixOS upgrade does not use nixos-rebuild switch due to the
cost+annoyance of the instantiation needing
system.includeBuildDependencies.
2024-08-23 11:06:47 +02:00
Someone Serge f72b7b56fb tests/nvidia-container-toolkit: mv shared config to defaults 2024-08-22 17:51:54 +00:00
Someone Serge d970b4d6cd tests/nvidia-container-toolkit: hardware.opengl -> graphics 2024-08-22 17:37:26 +00:00
Someone Serge 0780a3ebc8 tests/nvidia-container-toolkit: strip {no,one}-nvidia prefix as obvious from the context 2024-08-22 17:34:48 +00:00
Someone Serge 1e571aeab4 tests/nvidia-container-toolkit: less nesting 2024-08-22 17:25:49 +00:00
Someone Serge 1b7f2fe883 tests/nvidia-container-toolkit: more getExe 2024-08-22 17:09:56 +00:00
Martin Weinelt d9cf6ea6f8
Merge pull request #336445 from adamcstephens/kanidm/1.3.3
kanidm: 1.3.2 -> 1.3.3
2024-08-22 18:41:30 +02:00
Adam Stephens b93f6e4acd
nixos/tests/kanidm: bind certs path to fix ofborg tests
provision # [    8.223448] (kanidmd)[819]: kanidm.service: Failed to set up mount namespacing: /ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/ofborg-evaluator-1/nixos/tests/common/acme/server:
No such file or directory
2024-08-22 10:59:48 -04:00
Christina Sørensen 31321be124
kubernetes: 1.30.2 -> 1.31.0
Updates feature gate tests to feature gates introduces in 1.31, assuming
they'll be around for a while.
2024-08-22 16:26:38 +02:00
Sandro 180f9e2195
Merge pull request #334629 from OPNA2608/init/lomiri/lomiri-gallery-app 2024-08-22 15:44:21 +02:00
Sandro a45dc99ba3
Merge pull request #287565 from RatCornu/pingvin-share 2024-08-22 11:59:03 +02:00
oluceps 6c22d08406
nixos/test/dae: disable waiting network 2024-08-22 17:09:31 +08:00
José Romildo Malaquias 56b912ba3f
Merge pull request #336161 from ghpzin/nixosTests.enlightenment/mark-broken
nixos/tests/enlightenment: mark broken
2024-08-21 22:28:08 -03:00
marius david 8f73423ca0 tests/lemmy: Fix Lemmy’s test 2024-08-21 22:13:35 +02:00
OPNA2608 1b4795b3e2 tests/lomiri: Optimise further
- Split desktop into desktop-basics (basic keybind & app launching) and
  desktop-appinteractions (one applications triggering something in another) due to timeouts
- Wrap machine.wait_for_text to wait 10 seconds before starting

The 10 second delay improves runtime dramatically on weaker hardware. In desktop-ayatana-indicators
on my aarch64 laptop, runtime was cut down by 818,41 seconds (~ 14 minutes).
Hopefully helps abit with timeout issues on ARM :(
2024-08-21 21:09:49 +02:00
r-vdp 6cac9e409c
wstunnel: reformat with nixfmt 2024-08-21 10:46:04 +02:00
Jörg Thalheim c43e67f69b
Merge pull request #335344 from Mic92/harmonia
nixos/harmonia: switch to non-deprecated SIGN_KEY_PATHS
2024-08-21 07:01:22 +02:00
ghpzin 11a05813b6
nixos/tests/enlightenment: mark broken 2024-08-20 23:43:31 +03:00
Sigmanificient 78b1309ad4 nixos/tests/qtile: test extraPackages and qtile-extras 2024-08-20 02:27:03 +02:00
Kerstin f0ceb9f402
Merge pull request #335768 from erictapen/mastodon
nixos/mastodon: remove pin for postgresql version
2024-08-19 23:11:53 +02:00
Rafael Fernández López d665ca4fb2 nvidia-container-toolkit: add initial set of tests to check closures 2024-08-19 19:40:28 +02:00
Pol Dellaiera 8d18fe9184
Merge pull request #335151 from drupol/nixos/chromadb/init
nixos/chromadb: init
2024-08-19 17:29:57 +02:00
nicoo 2a5454490e
nixosTests.systemd-boot.memtest86: only run when memtest86plus is available (#335825)
The blocks the `nixos-unstable` channel due to an [evaluation error] for `aarch64-linux`.

[evaluation error]: https://gist.github.com/nbraud/8820dda48156922f998bba987eb229c6
2024-08-19 14:51:18 +00:00
Kerstin Humm 14fbed4b70
nixos/mastodon: don't pin postgresql version for test 2024-08-19 11:06:57 +02:00
schnusch d8c7f81279 nixos/cgit: test list settings type 2024-08-19 08:13:49 +02:00
Sandro 69701a3807
Merge pull request #320060 from PatrickDaG/homebox
homebox: init at 0.13.0; nixos/homebox: init
2024-08-18 16:32:43 +02:00
Sandro c67dbda54f
Merge pull request #308700 from tie/pgbouncer-settings
nixos/pgbouncer: add services.pgbouncer.settings option
2024-08-18 16:30:17 +02:00
Peder Bergebakken Sundt e471916645
treewide: passthru nixos test (#334491) 2024-08-18 00:29:43 +02:00
Jörg Thalheim aa994dd296 harmonia: switch to non-deprecated SIGN_KEY_PATHS 2024-08-17 13:11:06 +02:00
Pol Dellaiera 835b2f8822
nixos/chromadb: init 2024-08-16 18:23:12 +02:00
Adam C. Stephens c49d0387e0
Merge pull request #251598 from oddlama/feat-kanidm-provision
nixos/kanidm: add basic provisioning
2024-08-16 10:15:22 -04:00
oddlama 558fa6abc6
nixos/kanidm: add provisioning of groups, persons and oauth2 systems 2024-08-16 14:12:35 +02:00
Robert Rose d506595e43 nixos/k3s: use jq instead of JSONpath to process test data
Although kubectl has builtin JSONpath support, it is only supported
partially and the support varies between different versions. While using
JSONpath in tests worked for some versions, it failed for others. This
contribution replaces the problematic JSONpath usages with the jq JSON
processor.
2024-08-16 08:37:15 +02:00
Peder Bergebakken Sundt db16f389ab
Merge pull request #334508 from pbsds/fix-taskserver-1723599512
nixos/taskserver: fix test eval
2024-08-16 00:44:26 +02:00
OPNA2608 95461ff6c6 tests/ayatana-indicators: Finalise for differences in ayatana vs lomiri indicators 2024-08-15 22:10:56 +02:00
OPNA2608 712439f971 tests/ayatana-indicators: Prepare for differences in ayatana vs lomiri indicators 2024-08-15 22:10:25 +02:00
OPNA2608 cc01673c23 tests/ayatana-indicators: nixfmt, modernise 2024-08-15 22:06:15 +02:00
Jonathan Davies a289e52ce1
apacheKafka: init 3.8.0 2024-08-15 17:28:12 +01:00
Thiago Kenji Okada 33c968004c
Merge pull request #333678 from thiagokokada/sx-add-as-xsession
sx: add desktop file and providedSessions
2024-08-14 21:29:39 +01:00
superherointj 53b0c8af91
Merge pull request #334697 from rorosen/k3s-test-timeout
nixos/k3s: increase timeout in tests
2024-08-14 17:05:32 -03:00
Doron Behar 6bfd71d2b5
Merge pull request #318892 from doronbehar/pkg/taskwarrior3
nixosTests.taskchampion-sync-server: init
2024-08-14 19:43:33 +00:00
Robert Rose 69e2e82ba0 nixos/k3s: increase timeout in tests
Increase the timout for the import of container images in the `airgap-images`
test from 60s to 120s to counter flaky tests.
2024-08-14 21:01:19 +02:00
Maximilian Bosch d86f963742
Merge pull request #329657 from flyingcircusio/mailpit-module
nixos/mailpit: init
2024-08-14 17:37:54 +02:00
Maximilian Bosch d2fca016fe
Merge pull request #331717 from alyssais/linux-6.9-drop
linux_6_8,linux_6_9: remove
2024-08-14 16:04:30 +02:00
OPNA2608 cb0faa488a tests/lomiri-gallery-app: init 2024-08-14 15:26:08 +02:00
Martin Weinelt 9ccfa87721
Merge pull request #332764 from NixOS/staging-next
staging-next 2024-08-06
2024-08-14 13:33:28 +02:00
Maximilian Bosch 15dab820a6
nixos/mailpit: allow multiple instances
Now it's possible to start multiple mailpit instances - for e.g.
multiple testing environments - on the same machine:

    {
      services.mailpit.instances = {
        dev = { /* ... */ };
        staging = { /* ... */ };
      };
    }

The simplest way to start a single instance is by declaring

    services.mailpit.instances.default = {};
2024-08-14 11:33:52 +02:00
Maximilian Bosch a2437d8075
nixos/mailpit: init
Simple module to configure a systemd service for mailpit.
2024-08-14 11:33:52 +02:00
Doron Behar 2c40948c73 nixosTests.taskchampion-sync-server: init 2024-08-14 08:06:11 +03:00
Doron Behar 54698e8db6 taskwarrior2: rename from taskwarrior, with a warning alias
Also remove an outdated link in `taskserver/default.md`.
2024-08-14 08:06:10 +03:00
Will Fancher 0637303ca8 Revert "Merge pull request #330017 from Mic92/boot-counting"
This reverts commit 3d3c0f4d34, reversing
changes made to 47f7e25a77.
2024-08-13 23:11:18 -04:00
Peder Bergebakken Sundt 024600b390 nixos/taskserver: fix test eval
Error was:

```
error:
Failed assertions:
- Specialisation names can only contain alphanumeric characters and underscores
Invalid specialisation names: manual-config
```

Using nix (Lix, like Nix) 2.90.0
2024-08-14 03:40:36 +02:00
Will Fancher b78bd2f912 Revert "Merge pull request #333952 from r-vdp/specialisation-name-regex"
This reverts commit fc35704bc8, reversing
changes made to c67d90d517.
2024-08-13 21:33:15 -04:00
github-actions[bot] 35c1846996
Merge master into staging-next 2024-08-13 18:01:28 +00:00
Adam C. Stephens 7e95d0361c
Merge pull request #333730 from adamcstephens/incus/from-lxd
nixos/incus: add incus-only vm and container images
2024-08-13 08:39:26 -04:00
Martin Weinelt 0906206d42
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/top-level/python-packages.nix
2024-08-13 13:21:03 +02:00
superherointj 3a158316b8
Merge pull request #332183 from codedownio/k3s-containerd-config
nixos/k3s: add containerdConfigTemplate option
2024-08-13 04:03:59 -03:00
Kerstin Humm 13c96978c3 nixos/weblate: init module and test
Co-authored-by: Taeer Bar-Yam <Radvendii@users.noreply.github.com>
2024-08-13 08:44:54 +02:00
Tom McLaughlin 81c0783c0e nixos/k3s: add containerdConfigTemplate option 2024-08-12 14:58:18 -07:00
github-actions[bot] 62f43c3094
Merge master into staging-next 2024-08-12 18:02:11 +00:00
Florian 20d3d501ad
Merge pull request #290913 from flandweber/borgmatic-improvement
nixos/borgmatic: added test
2024-08-12 15:37:12 +02:00
r-vdp f09a62f122
acme: fix test after fc35704bc8 2024-08-12 14:04:09 +02:00
github-actions[bot] 8674a36b01
Merge master into staging-next 2024-08-12 12:01:27 +00:00
r-vdp 57a30e4cbd
specialisation: limit the allowed characters in specialisation names
Since the systemd boot counting PR was merged, dashes in specialisation
names cause issues when installing the boot loader entries, since dashes
are also used as separator for the different components of the file name
of the boot loader entries on disk.

The assertion avoids this footgun which is pretty annoying to recover
from.
2024-08-11 19:07:44 +02:00
Pol Dellaiera ea41e82c90
Merge pull request #324831 from drupol/php/bump/july-2024
php84: init at 8.4.0alpha1
2024-08-11 19:01:03 +02:00
Pol Dellaiera f5c25500e1 php84: init at 8.4.0alpha4
https://github.com/php/php-src/blob/php-8.4.0alpha4/NEWS

Announcements:

- alpha1 https://www.php.net/archive/2024.php#2024-07-05-1
  - imap and pspell moved to PECL
- alpha3 https://www.php.net/archive/2024.php#2024-07-18-1
- alpha4 https://www.php.net/archive/2024.php#2024-08-01-3

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2024-08-11 12:12:49 +02:00
Martin Weinelt 0e1624df44
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/pycdio/default.nix
2024-08-11 03:10:34 +02:00
Thiago Kenji Okada 2c43dd5d82 nixos/tests/sx: init 2024-08-10 20:42:25 +01:00
ghpzin 5f6bcaa60a
nixosTests.quake3: fix build timeout 2024-08-10 22:17:34 +03:00
Adam Stephens ac18c4d1e9
treewide: remove lxc team from lxd packages and modules
LXD is not under the LXC project any longer
2024-08-10 13:23:38 -04:00
Adam Stephens 094f2b6c9d
nixos/incus: add incus-only vm and container images 2024-08-10 13:23:36 -04:00
github-actions[bot] 03e2e79ded
Merge master into staging-next 2024-08-09 18:01:11 +00:00
Cosima Neidahl 5244f79d35
Merge pull request #332220 from OPNA2608/update/lomiri/OTA-5
lomiri.*: OTA-5
2024-08-09 17:37:39 +02:00
github-actions[bot] 7b86eb63e7
Merge master into staging-next 2024-08-09 12:01:12 +00:00
Rick van Schijndel 0a21feb643
Merge pull request #327842 from cafkafk/kubernetes-feature-gate-refactor
nixos/kubernetes: refactor feature gates to attrsOf bool, making it possible to disable featureGates
2024-08-09 08:24:47 +02:00
Patrick ea4107aba0
nixosTest.homebox: init 2024-08-08 20:01:50 +02:00
OPNA2608 39ca1bebb4 tests/lomiri: Try to fix polkit password entry on ARM
Hopefully not just a placebo, but it worked on my machine.
2024-08-08 19:59:47 +02:00
OPNA2608 fa5d67862c tests/lomiri: Start splitting into multiple sub-tests
Because ARM hardware is starting to have serious issues with completing everything, due to

- A seemingly harmless Lomiri crash & restart early on eating up some time (adding more RAM seemed to have helped with that?), and
- Every OCR usually taking multiple minutes to complete

So start splitting them up into parts

- greeter, for testing just the greeter
- desktop, for general app stuff
- desktop-ayatana-indicators, for checking indicators (OCR-heavy & especially slow)

Currently passing on my hardware, but might need to be split up more in the future.
2024-08-08 17:10:13 +02:00
OPNA2608 9c429cbc28 tests/lomiri: Prepare for splitting 2024-08-08 17:10:13 +02:00
OPNA2608 c384f677ea tests/lomiri: nixfmt 2024-08-08 17:10:12 +02:00
OPNA2608 06013bc2c7 tests/lomiri: Fix polkit agent test
We're starting to get stuck in OCR of the polkit pop-up.

Just assume that it shows up, send password, and expect the pkexec'd command to work.
2024-08-08 17:10:12 +02:00
github-actions[bot] 4f6f7d0791
Merge master into staging-next 2024-08-08 10:12:08 +00:00
nikstur fa12935a32
Merge pull request #333006 from nikstur/static-mtab
nixos/systemd-tmpfiles: create /etc/mtab via environmemt.etc instead of tmpfiles
2024-08-08 12:00:07 +02:00
Ivan Trubach 6008ed89f6 nixos/prometheus.exporters.pgbouncer: do not assume that pgbouncer runs on localhost
PgBouncer instance running on localhost may not be the on being
monitored in connectionString. Remove checks that forbid valid
configuration from being used and instead document requirements for
PgBouncer configuration when used with the exporter.
2024-08-08 05:54:45 +03:00
Ivan Trubach bfb9d1825d nixos/pgbouncer: add services.pgbouncer.settings option
This change adds services.pgbouncer.settings option as per [RFC 0042]
and deprecates other options that were previously used to generate
configuration file.

In addition to that, we also place the configuration file under
environment.etc to allow reloading configuration without service
restart.

[RFC 0042]: https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md
2024-08-08 05:54:26 +03:00
github-actions[bot] 0bc8d4924e
Merge master into staging-next 2024-08-07 18:01:07 +00:00
nikstur 9e720a5881 nixos/systemd-tmpfiles: create /etc/mtab via environmemt.etc instead of tmpfiles
This enables an immutable /etc via `system.etc.overlay.mutable = false`.
2024-08-07 16:12:37 +02:00
Johann Wagner d1d58d4141 nixos/tests/librenms: Adding db seed to have admin role 2024-08-07 15:18:29 +02:00
github-actions[bot] addc823ceb
Merge master into staging-next 2024-08-07 12:01:21 +00:00
Johann Wagner b18f49a472
nixos/tests/librenms: Using services.snmpd module for tests to fix test timeouts (#332925) 2024-08-07 10:19:40 +02:00
github-actions[bot] e80257fbed
Merge master into staging-next 2024-08-07 00:02:22 +00:00
Thiago Kenji Okada cb91750451
Merge pull request #297434 from Vonfry/init-ly-module
add nixos/ly module and package update
2024-08-06 19:32:22 +01:00