Commit graph

7906 commits

Author SHA1 Message Date
Nick Cao 3b7625845b
nixosTests.knot: test zone transfer over quic 2024-03-06 13:41:24 -05:00
Adam C. Stephens a51a27a78b
Merge pull request #291554 from jnsgruk/homepage-config
nixos/homepage-dashboard: support structured config
2024-03-05 09:48:19 -05:00
Jon Seager 0b39e86cbc
nixosTests.homepage-dashboard: test managed and unmanaged configs 2024-03-05 14:38:53 +00:00
adisbladis 5cdb38bb16
Merge pull request #288579 from blitz/vbox-kvm-2
virtualboxKvm: init
2024-03-05 18:58:57 +13:00
Mikael Voss fe639ca418 nixos/tests/akkoma: Adapt to latest toot release 2024-03-05 05:27:40 +01:00
Nick Cao 8e19126885
Merge pull request #289009 from 999eagle/feat/miniflux-no-db
nixos/miniflux: add option to disable configuring a local postgresql db
2024-03-04 09:47:14 -05:00
Sophie Tauchert cb5f2a8e87
nixos/tests/miniflux: add test for external database 2024-03-04 09:07:21 +01:00
Martin Weinelt f09b7dc6a5
Merge pull request #289961 from leona-ya/vikunja-0.23.0
vikunja: 0.22.1 -> 0.23.0
2024-03-03 19:15:35 +01:00
Guillaume Girol 5b274d5f01 nixos/nix: add workaround for https://github.com/NixOS/nix/issues/9487
Nix has a suprising behavior where if the option `extra-foo` is set before `foo`, then setting `foo` overwrites the setting for `extra-foo`. This is reported as https://github.com/NixOS/nix/issues/9487, and will likely not be fixed any time soon.

This works around this issue by always putting `extra-*` settings after non-extra ones in the nixos-generated `/etc/nix.conf`.
2024-03-03 17:03:46 +01:00
Pascal Bach 8240cbf81b
Merge pull request #292124 from r-ryantm/auto-update/minio
minio: 2024-02-24T17-11-14Z -> 2024-02-26T09-33-48Z
2024-03-03 11:22:22 +01:00
Pascal Bach 7305821c58 tests/minio: fix broken minio test
Since last update minio pre allocates 2GiB of memory, so the test VM
needs more than that to not run out of memory.

We also remove the time based tests as it makes the test non deterministic
2024-03-03 11:20:44 +01:00
Julien Malka 4ee410d8f8
Merge pull request #283547 from r-vdp/boot_sort_key 2024-03-02 22:17:52 +01:00
nikstur b6401f808a
Merge pull request #292636 from RaitoBezarius/smm-works-for-something-else-than-x86-actually
OVMF: remove invalid `assert` on SMM
2024-03-02 21:04:12 +01:00
Franz Pletz 764d15f59f
pinentry: remove multiple outputs package
fixes #133156 #124753
2024-03-02 17:16:53 +01:00
Gabriella Gonzalez b8698cd8d6
macOS support for NixOS tests (#282401)
Closes #193336
Closes #261694
Related to #108984

The goal here was to get the following flake to build and run on
`aarch64-darwin`:

```nix
{ inputs.nixpkgs.url = <this branch>;

  outputs = { nixpkgs, ... }: {
    checks.aarch64-darwin.default =
      nixpkgs.legacyPackages.aarch64-darwin.nixosTest {
        name = "test";

        nodes.machine = { };

        testScript = "";
      };
  };
}
```

… and after this change it does.  There's no longer a need for the
user to set `nodes.*.nixpkgs.pkgs` or
`nodes.*.virtualisation.host.pkgs` as the correct values are inferred
from the host system.
2024-03-02 06:33:14 +01:00
r-vdp a8ab8b59a7
systemd-boot: introduce options to set a sort-key for systemd-boot entries
Without sort-keys specified on entries, the entries are sorted only by
file name (in decreasing order, so starting at the end of the alphabet!),
without taking any other fields into account (see
[the boot loader specification reference][1]).
Moreover, entries without a sort-key are always ordered after all
entries with a sort-key, so by not adding a sort-key to the NixOS ones,
we cannot add a sort-key to any other entry while keeping it below the
NixOS entries.

So currently we have options to set the file names for additional entries like
memtest and netbootxyz.
However, as mentioned above, the sorting by file name is not very intuitive and
actually sorts in the opposite order of what is currently mentioned in the option
descriptions.

With this commit, we set a configurable sort-key on all NixOS entries,
and add options for setting the sort-keys for the memtest and netbootxyz
entries.
The sorting by sort-key is more intuitive (it starts at the start of the
alphabet) and also takes into account the machine-id and version for entries
with identical sort-keys.

We use a bootspec extension to store the sort keys, which allows us to
redefine the sort key for individual specialisations without needing any
special casing.

[1]: https://uapi-group.org/specifications/specs/boot_loader_specification/#sorting
2024-03-02 02:11:32 +01:00
nikstur ee2a53dc86 nixos/tests/systemd-boot: make secureBoot test work on different architectures 2024-03-01 23:45:07 +01:00
Ryan Lahfa fae73881ba
Merge pull request #292561 from arianvp/fix-make-disk-image-systemd-boot-homeless-shelter-clobber
nixos/lib/make-disk-image.nix: fix systemd-boot-builder clobbering /homeless-shelter
2024-03-01 16:59:16 +01:00
Adam C. Stephens b52452f8c7
Merge pull request #291951 from amarshall/zfs-pkgs-renaming
zfs: rename zfsStable -> zfs_2_2; zfsUnstable -> zfs_unstable; remove enableUnstable option in favor of package
2024-03-01 10:09:12 -05:00
Sandro b84bc4ea3a
Merge pull request #264087 from leonm1/matter-server-module 2024-03-01 13:51:19 +01:00
Sandro 51e92056db
Merge pull request #283660 from ocfox/transfer 2024-03-01 13:36:03 +01:00
Arian van Putten b75a29cb6c nixos/lib/make-disk-image.nix: fix systemd-boot-builder clobbering /homeless-shelter
systemd-boot-builder.py calls nix-env --list-generations which creates
$HOME/.nix-defexpr/channels/nixos if it doesn't exist. This would cause a folder
/homeless-shelter to show up in the final image which in turn breaks nix builds
in the target image if sandboxing is turned off (as /homeless-shelter is never
allowed to exist).
2024-03-01 12:52:48 +01:00
Sarah Brofeldt 13a94ad1fb
Merge pull request #292291 from cafkafk/dockerRegistry-openFirewall
nixos/dockerRegistry: add `openFirewall` option
2024-03-01 09:57:07 +01:00
Christina Sørensen d31cbb78ca
nixos/dockerRegistry: add openFirewall option
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-03-01 09:56:03 +01:00
Sandro bbabfca453
Merge pull request #263765 from numinit/armagetronad-module
nixos/armagetronad: Add module with NixOS tests
2024-03-01 00:46:34 +01:00
Robert Schütz 603c5af519 nixos/tests/searx: use configured package for static content
Also use the simple theme because upstream dropped the oscar one:
https://github.com/searxng/searxng/discussions/1167
2024-02-28 17:51:29 -08:00
Adam C. Stephens 8ed07da2ed
Merge pull request #290433 from adamcstephens/consul/tests
nixos/tests/consul: enable unfree
2024-02-28 13:35:48 -05:00
Adam C. Stephens 6b834b5e9a
Merge pull request #290570 from adamcstephens/lxc/sysctl
nixos/lxc/generator: remove sysctl error handling
2024-02-28 13:34:48 -05:00
Adam Stephens 5f1b65f75f
nixos/tests/incus: ensure sysctl rules apply successfully to lxc containers 2024-02-28 11:59:39 -05:00
Julian Stecklina 3661b3ee53 nixosTests.virtualbox: add happy path KVM test
The KVM support is still new and experimental. There is no point in
doing extensive testing. Just check whether it works in general.
2024-02-28 17:43:43 +01:00
Julian Stecklina 77c7ac6c35 nixosTests.virtualbox: allow additional parameters for tests 2024-02-28 17:36:22 +01:00
K900 16f963794a nixos/tests: add plasma6 2024-02-28 18:49:33 +03:00
Alyssa Ross dc6eafa64f linux_6_5: remove 2024-02-28 12:48:08 +01:00
K900 d53c203739
Merge pull request #291544 from K900/ovmf-oof
nixos/tests: drop LegacyStartCommand
2024-02-28 09:32:26 +03:00
Morgan Jones a5c305d170
nixos/armagetronad: address code review feedback 2024-02-27 18:59:37 -08:00
Robert Hensing 57c1108204
Merge pull request #282886 from WxNzEMof/docker-tools-uid
Allow streaming layered containers with non-root Nix store
2024-02-28 03:43:07 +01:00
Will Fancher a587a6a357
Merge pull request #285401 from sdht0/systemd-boot-xbootldr
nixos/systemd-boot: Add support for an XBOOTLDR partition
2024-02-27 20:35:03 -05:00
Andrew Marshall 929fcf9335 zfs_unstable: Rename from zfsUnstable
This matches the naming of other zfs_* pkgs.
2024-02-27 18:45:55 -05:00
Andrew Marshall 1c84667539 nixos/tests/zfs: Get test name from pkg under test
The previous names are already this.
2024-02-27 18:45:47 -05:00
Andrew Marshall dcff4f8318 zfs_2_2: Rename from zfsStable
The `zfs` alias already has equivalent semantics. Instead, make this
like zfs_2_1 so folks who want to pin a specific release series can do
so easily and clearly to have more control over when more substantial
updates occur.

Rename all tests to match the pkg attr they are testing.
2024-02-27 18:45:43 -05:00
K900 423098c284 nixos/lib/test-driver: drop LegacyStartCommand, clean up create_machine API
We can finally do this now that it's no longer used.
2024-02-27 23:15:59 +03:00
K900 786f391922 nixos/tests/installer: inline + fix UEFI start command generation 2024-02-27 23:15:59 +03:00
K900 61cb46e6bf nixos/tests/boot: inline + fix UEFI start command generation 2024-02-27 23:15:59 +03:00
K900 bf5c44d0d7 nixos/tests/boot/ubootExtlinux: mark broken 2024-02-27 23:15:58 +03:00
Atemu 97f445e8f1
Merge pull request #245005 from Scrumplex/nixos-monado
nixos/monado: init
2024-02-27 20:11:04 +00:00
superherointj 471dfadc48
Merge pull request #288790 from superherointj/nixos-tests-k3s-etcd
nixos/tests/k3s: add etcd backend
2024-02-27 07:31:38 -03:00
Siddhartha b470b4432d nixos/systemd-boot: Add support for an XBOOTLDR partition 2024-02-26 21:55:49 -05:00
Peder Bergebakken Sundt 9f6ae93dc8
Merge pull request #278374 from OPNA2608/init/lomiri/lomiri-system-settings
lomiri.lomiri-system-settings{,-unwrapped,-security-privacy}: init at 1.0.2
2024-02-26 22:46:52 +01:00
Atemu f53c775852
Merge pull request #278454 from litchipi/mealie
mealie: init at 1.2.0
2024-02-26 21:01:49 +00:00
WxNzEMof 4733b52c6b dockerTools.tests.docker-tools: Add non-root streamLayeredImage test 2024-02-26 19:29:04 +00:00
WxNzEMof 2697d34603 streamLayeredImage: Change mode of /nix, /nix/store to 755
The change is insignificant when the owner is root.  However, when it
is not root, this change is needed to allow using Nix (as an
unprivileged user) inside the container.
2024-02-26 18:10:51 +00:00
OPNA2608 66129d5e24 tests/lomiri-system-settings: init 2024-02-26 10:11:41 +01:00
Adam C. Stephens af810fc67e
Merge pull request #284874 from shlevy/ovmf-ms
Enable MS-compatible secure boot with OVMF
2024-02-25 22:34:05 -05:00
Ryan Lahfa 077d41f9d8
Merge pull request #289856 from pennae/supfs-set
nixos/filesystems: make supportedFilesystems an attrset
2024-02-25 18:05:29 +01:00
K900 f5c4b5837d
Merge pull request #289748 from picnoir/pic/ppd020
power-profiles-daemon: 0.13 -> 0.20
2024-02-24 12:30:49 +03:00
Félix Baylac Jacqué 1da7dfa57d nixosTests.power-profiles-daemon: test profilectl CLI
We also take advantage of that change to point to the new dbus
canonical names.
2024-02-24 09:39:28 +01:00
Sefa Eyeoglu 8fc2690b73
nixos/monado: add test
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-02-23 14:25:16 +01:00
Emery Hemingway e7d3db0954 nixos/ccache: add test 2024-02-23 11:08:02 +00:00
0x4A6F a9134fc109
Merge pull request #278896 from helsinki-systems/upd/matomo
matomo_5: Init at 5.0.2
2024-02-23 09:38:19 +01:00
Litchi Pi aeb79caaf6 nixos/mealie: init tests
Signed-off-by: Litchi Pi <litchi.pi@proton.me>
2024-02-23 07:15:44 +01:00
Sandro 78745f4652
Merge pull request #289934 from jnsgruk/scrutiny 2024-02-23 00:43:55 +01:00
Jon Seager 41a1acde71
nixosTests.scrutiny: init 2024-02-22 21:20:10 +00:00
Peder Bergebakken Sundt b775c0299d
Merge pull request #262433 from OPNA2608/init/lomiri/morph-browser
lomiri.morph-browser: init at 1.1.0
2024-02-22 18:34:55 +01:00
Maximilian Bosch 0fac694dba
Merge pull request #290507 from dotlambda/nextcloud-notify_push-meta
nextcloud-notify_push.test_client: add meta
2024-02-22 17:28:11 +01:00
OPNA2608 a8069ff58a tests/morph-browser: Add standalone (non-Lomiri) test 2024-02-22 10:36:50 +01:00
Adam C. Stephens f8131a5a2c
Merge pull request #290288 from mkg20001/lxc-initrd-fix
nixos/lxc-container: link to prepare-root when boot.initrd.systemd.enable is on
2024-02-21 22:29:04 -05:00
Jörg Thalheim 87f6f1fcbd
Merge pull request #290490 from nikstur/idempotent-etc-activation
nixos/etc: make re-mounting /etc overlay idempotent
2024-02-22 07:23:22 +07:00
Robert Schütz 16e379fa03 nextcloud-notify_push.test_client: add meta 2024-02-21 15:12:58 -08:00
nikstur 5df8caced4 nixos/etc: make re-mounting /etc overlay idempotent 2024-02-21 22:54:00 +01:00
Adam Stephens 96e208a605
nixos/tests/consul: enable unfree 2024-02-21 08:41:06 -05:00
Maximilian Bosch b0e2f85051
Merge pull request #287819 from Ma27/nc-regression-test
nixos/nextcloud: add regression test for not delivering code anymore
2024-02-21 14:14:28 +01:00
Maciej Krüger c607e70f70
nixosTests.incus: add test with old and new init 2024-02-20 23:42:59 +01:00
Leona Maroni 47b7eb8fd9
nixos/vikunja: remove setupNginx option
The required nginx configuration is now really simple, and e.g. SSL/ACME
already required the user to interact with `services.nginx.virtualHosts`.
Therefore, and to reduce complexity, we now leave the web server
configuration to the user.
2024-02-20 22:43:53 +01:00
Leona Maroni 8817f080cc
nixos/vikunja: adapt for vikunja 0.23.0
This version removes dedicated api and frontend packages.
2024-02-20 22:43:53 +01:00
Ivan Mincik 35521efae5
Merge pull request #281739 from rollf/geoserver-with-extensions
geoserver: add extensions and update script
2024-02-20 15:39:35 +01:00
Rolf Schröder 3ac439921f geoserver: add extensions and update script 2024-02-20 10:28:58 +01:00
superherointj 1930ecaa74 nixos/k3s: add test for etcd backend 2024-02-19 18:39:57 -03:00
Robert Hensing d2dfcfcfad
Merge pull request #289584 from athre0z/docker-zstd
dockerTools: configurable compression schema
2024-02-19 18:06:54 +01:00
Adam C. Stephens f542eeb243
Merge pull request #289278 from mkg20001/incusui
modules/incus: add ui flag
2024-02-19 10:27:52 -05:00
pennae 258b935d70 nixos/filesystems: make supportedFilesystems an attrset
this lets us *dis*able filesystem explicitly, as is required by e.g. the
zfs-less installer images. currently that specifically is only easily
possible by adding an overlay that stubs out `zfs`, with the obvious
side-effect of also removing tooling that could run without the kernel
module loaded.
2024-02-19 11:46:52 +01:00
Robert Hensing 2104e113a0
Merge pull request #281520 from WxNzEMof/docker-tools-chown
dockerTools: Fix chown in fakeRootCommands
2024-02-19 09:01:05 +01:00
Max Hausch 7e2ab60bc5
matomo_5: Init at 5.0.2 2024-02-19 07:39:49 +01:00
Thomas Gerbet 21a671c1ac nixosTests.prometheus-exporters.dnsmasq: wait for DNSMasq before testing the exporter
When DNSMasq is not yet completly started trying to call the exporter
fails.
2024-02-18 19:30:08 +01:00
Sandro 8f13ee7049
Merge pull request #179034 from viraptor/go-camo-service
nixos/go-camo: init
2024-02-17 22:12:13 +01:00
Sandro cf59adeb8c
Merge pull request #271324 from nessdoor/sourcehut/tests
nixosTests.sourcehut: implement proper integration testing
2024-02-17 20:58:22 +01:00
Stanisław Pitucha 2eed715fbf
nixos/go-camo: init 2024-02-17 20:45:49 +01:00
Joel Höner 4b603ad9cd dockerTools: configurable compression schema
This commit adds support for swapping out the compression algorithm
used in all major docker-tools commands that generate images. The
default algorithm remains unchanged (gzip).
2024-02-17 18:52:42 +01:00
Maciej Krüger f1ed39535e
nixosTests.incus: add ui test 2024-02-17 17:05:35 +01:00
Izorkin c1a97e1f49
nixos/mastodon: add option redis.passwordFile 2024-02-17 15:52:58 +03:00
Sergei Trofimovich 95de1da4f3 nixosTests.keepalived: fix eval (maintainers attribute)
Without the change test sfails to evaluate as:

    $ nix build --no-link -f. nixosTests.keepalived
    error:
       error: function 'makeTest' called with unexpected argument 'maintainers'
2024-02-16 22:36:32 +00:00
Kerstin 5c01128ec0
Merge pull request #117501 from Izorkin/update-mastodon-redis
nixos/mastodon: use unix socket for redis
2024-02-16 17:27:08 +01:00
Izorkin cf62e3257f
nixos/mastodon: redis now uses unix socket by default 2024-02-16 16:39:31 +03:00
Patrizio Bekerle 4625f86517 qownnotes: 24.2.0 -> 24.2.3 2024-02-16 13:08:22 +01:00
Matej Cotman 80861fb032
lemmy-server: fix tests by waiting until backend is ready with 10s timeout 2024-02-15 22:46:32 +02:00
Shea Levy 9188bb5186
OVMF: Add test with secure boot enabled
Co-authored-by: Arthur Gautier <arthur.gautier@arista.com>
2024-02-15 12:13:05 -05:00
markuskowa 3630c552a3
Merge pull request #285522 from markuskowa/fix-closure-mpi
openmpi: split dev into separate output, reduce closure size
2024-02-15 15:21:03 +01:00
Sophie Tauchert 051ebee8c9
nixos/tests/miniflux: move common test script into function for less repetition 2024-02-15 11:31:18 +01:00
Vladimír Čunát aaca7a186f
Merge #286596: nixos/knot: add support for XDP setups 2024-02-15 09:19:59 +01:00
Robert Hensing dcf985388c
Merge pull request #271976 from r-k-b/fix-dockerTools-includeStorePaths
nixos/dockerTools: fix includeStorePaths when enableFakechroot
2024-02-14 23:38:44 +01:00
Yt f13f90978a
Merge pull request #288638 from ThyMYthOS/update-stalwart
stalwart-mail: fix default configuration and test
2024-02-14 21:42:46 +00:00