Commit graph

29027 commits

Author SHA1 Message Date
Robert Hensing 38fb09e427 testing-python.nix: Replace makeTest implementation 2022-09-24 17:38:08 +01:00
Robert Hensing 537f456373 nixos/doc/running-nixos-tests: Simplify running instructions with nixosTests 2022-09-24 17:38:08 +01:00
Robert Hensing 6e2f753989 nixos/doc/running-nixos-tests-interactively: Describe interactive option 2022-09-24 17:38:08 +01:00
Robert Hensing b0c781cc41 nixos/testing: Move entrypoint to nixos/lib + doc 2022-09-24 17:38:08 +01:00
Robert Hensing 5727fd3e6f nixosTests.agate: Use module based runner 2022-09-21 10:55:12 +01:00
Robert Hensing 15dcbc2514 nixosTests.aesmd: Use module based runner 2022-09-21 10:55:12 +01:00
Robert Hensing edf8be37af nixosTests.adguardhome: Use module based runner 2022-09-21 10:55:12 +01:00
Robert Hensing b7ffe44469 nixosTests.acme: Use module system based runner 2022-09-21 10:55:12 +01:00
Robert Hensing 9e4277b970 nixos/testing/network.nix: Fix for specialisations and specialArgs.name
Before this, it relied on being able to `imports` from the `name`
module argument, which wasn't really necessary and required a
potentially quite breaking change. We can revert that now.
2022-09-21 10:55:12 +01:00
Robert Hensing 0691b450b1 nixosTests._3proxy: Use module system based runner 2022-09-21 10:55:11 +01:00
Robert Hensing a958a4aa00 nixos/testing: Add pkgs parameter
This parameter is for packages to use in VMs, unlike hostPkgs.
2022-09-21 10:55:11 +01:00
Robert Hensing 124b0c4abc nixos/testing/network.nix: Avoid deprecated .config 2022-09-21 10:55:11 +01:00
Robert Hensing 3c09cb2363 nixos/all-tests.nix: Improve runTest for release.nix
... and add runTestOn.
2022-09-21 10:55:11 +01:00
Robert Hensing b3de22483c nixos/testing-python.nix: Add evalTest
This is a decomposition of the testing-python.nix and build-vms.nix
files into modules.

By refactoring the glue, we accomplish the following:

 - NixOS tests can now use `imports` and other module system features.
    - Network-wide test setup can now be reusable; example:
       - A setup with all VMs configured to use a DNS server
       - Split long, slow tests into multiple tests that import a
         common module that has most of the setup.
    - Type checking for the test arguments
    - (TBD) "generated" options reference docs
 - Aspects that had to be wired through all the glue are now in their
   own files.
    - Chief example: interactive.nix.
    - Also: network.nix

In rewriting this, I've generally stuck as close as possible to the
existing code; copying pieces of logic and rewiring them, without
changing the logic itself.

I've made two exceptions to this rule

 - Introduction of `extraDriverArgs` instead of hardcoded
   interactivity logic.

 - Incorporation of https://github.com/NixOS/nixpkgs/pull/144110
   in testScript.nix.

I might revert the latter and split it into a new commit.
2022-09-21 10:55:11 +01:00
Jonas Heinrich ed1b801f8d
Merge pull request #192110 from rski/master
nixos/modules/sway: Remove unsupported flag in doc
2022-09-21 09:50:49 +02:00
Robert Hensing 97f6e8b3e6
Merge pull request #191988 from zombiezen/fix-docker-ca-certificates
dockerTools: add missing mkdir to caCertificates derivation
2022-09-21 01:20:00 +01:00
Robert Hensing cbb1f39264 nixosTests.docker-tools: Add image-with-certs 2022-09-21 01:00:04 +01:00
Thomas Tuegel fff89194fe
Merge pull request #183381 from alois31/oxygen-sounds
oxygen-sounds: init at 5.25.3
2022-09-20 14:25:55 -05:00
Romanos Skiadas 460b4b8c1a nixos/modules/sway: Remove unsupported flag in doc
--my-next-gpu-wont-be-nvidia is no longer supported as of 1.7
2022-09-20 20:51:27 +03:00
Florian Klink 40461db5c5
Merge pull request #191904 from SuperSandro2000/191032-cleanup
nixos/systemd: remove not required or true
2022-09-20 12:45:00 +02:00
Jonas Heinrich 77984dedc4
Merge pull request #191851 from wentasah/usbrelay-1.0.1
usbrelay: 1.0 -> 1.0.1
2022-09-20 12:23:36 +02:00
Brian Leung 2c8e67bf6b nixos/lemmy: settings.database.createLocally -> database.createLocally
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
Co-authored-by: Ctem <c@ctem.me>
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
2022-09-19 11:34:08 -04:00
Sandro Jäckel 03b6d5111a
nixos/systemd: remove not required or true 2022-09-19 13:45:01 +02:00
Michal Sojka ec026d26d2 usbrelay: 1.0 -> 1.0.1 2022-09-18 22:54:13 +02:00
Linus Heckemann fb517fc0b0
Merge pull request #191672 from Ma27/rm-kernel-18
linux: remove 5.18
2022-09-18 12:09:02 +02:00
Franz Pletz 60e0f368f1
Merge pull request #191552 from Tasqa/libvirtd-zfs-storage 2022-09-18 04:21:15 +02:00
Lorenzo Manacorda 241f31a0a7 nixos/matrix-synapse: fix link to install instructions 2022-09-18 04:14:57 +02:00
Jairo Llopis a7a94811e3
nixos/nix-daemon: support machine protocol
Make ssh-ng:// users happier.

@moduon MT-904
2022-09-18 00:05:35 +02:00
Maximilian Bosch 5b35cc27e0
Merge pull request #190431 from r-ryantm/auto-update/wiki-js
wiki-js: 2.5.286 -> 2.5.287
2022-09-17 18:20:28 +02:00
Maximilian Bosch 6b6bb7cdd3
nixos/wiki-js: pin nodejs to v16
v18 is not supported, see https://docs.requarks.io/install/requirements#nodejs
2022-09-17 17:46:20 +02:00
Maximilian Bosch a2969b43bb
linux: remove 5.18
This is long overdue, the last release was almost a month ago, on 21st
Aug 2022[1].

[1] https://lwn.net/Articles/905532/
2022-09-17 17:06:58 +02:00
Sandro 8ad3fe7279
Merge pull request #180598 from madonius/package/alps 2022-09-17 13:56:16 +02:00
Emmanouil Kampitakis 85f0887662 nixos/alps: init module 2022-09-16 22:29:11 +02:00
Tako Marks a0f2ca21da libvirtd: add zfs storage driver tests 2022-09-16 22:04:24 +02:00
Stig Palmquist c24975c50a
release-notes: mention perl 5.36 and verify_SSL patch 2022-09-16 18:54:52 +02:00
Jonas Heinrich 22c17bd5f3
Merge pull request #186940 from NickCao/stratis-cli
stratis-cli: init at 3.2.0
2022-09-16 13:40:17 +02:00
Sandro c2e7745b08
Merge pull request #190060 from revol-xut/master 2022-09-15 21:30:27 +02:00
Kerstin 1637945189
Merge pull request #189975 from Tasqa/kanidm-cacerts-fix
nixos/kanidm: Add cacerts path to unixd service
2022-09-15 16:28:21 +02:00
Martin Weinelt 465d9af681
Merge pull request #191150 from NickCao/synapse 2022-09-15 02:10:11 +02:00
Artturi dbc00be498
Merge pull request #190358 from ck3d/fix-nixos-cross 2022-09-14 19:15:23 +03:00
Domen Kožar efdea4930c
Merge pull request #187857 from Sohalt/remove-dd-agent
dd-agent: remove
2022-09-14 13:25:50 +01:00
Armeen Mahdian aa20ba5563 dd-agent: remove 2022-09-14 14:11:14 +02:00
Sandro c1831f6c90
Merge pull request #182329 from linsui/safeeyes
safeeyes: fix double wrap
2022-09-14 12:30:09 +02:00
Jonas Heinrich d990f88f9f nixos/go-autoconfig: init module 2022-09-14 02:21:39 -04:00
Nick Cao 65cefcd588
matrix-synapse: 1.66.0 -> 1.67.0 2022-09-14 14:20:23 +08:00
John Soo 026e83a4a8
nixos/self-deploy: add gzip to path
The service fails without it.
2022-09-13 16:43:00 -07:00
Florian Klink a81b6401f6
Merge pull request #191032 from yu-re-ka/systemd-nixos-utmp
nixos/systemd: conditionally include systemd-update-utmp upstream unit
2022-09-13 11:26:07 +02:00
Domen Kožar 2f22b267c5
Merge pull request #190959 from pennae/cachix-host-type
nixos/cachix-agent: fix type for host option
2022-09-13 10:08:00 +01:00
Yureka 19686a4452 nixos/systemd: conditionally include systemd-update-utmp upstream unit 2022-09-13 10:34:28 +02:00
Brian Leung c231a20d98 nixos/lemmy: move systemd script to serviceConfig
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
Co-authored-by: Ctem <c@ctem.me>
Co-authored-by: Ilan Joselevich <personal@ilanjoselevich.com>
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
2022-09-12 18:39:54 -04:00