Commit Graph

36285 Commits

Author SHA1 Message Date
Robert Hensing
3fbda64514
Merge pull request #263131 from Ma27/sshd-test-networkd
nixos/tests/openssh: use dashes for hostnames
2023-10-24 17:53:15 +02:00
K900
d0d6219c42
Merge pull request #262265 from chayleaf/akkoma-extra
nixos/akkoma: add services.akkoma.dist.extraFlags
2023-10-24 18:30:24 +03:00
Maximilian Bosch
e4c369b443
Merge pull request #263146 from globin/globin-maintainership
treewide: update globin's maintainership
2023-10-24 16:45:43 +02:00
Robert Hensing
5dfc78a8ad
Merge pull request #262021 from Enzime/linux-builder-cross
linux-builder: support `x86_64-linux` on `aarch64`
2023-10-24 14:34:29 +02:00
Maximilian Bosch
b16ac6e7bb
nixos/tests/openssh: use dashes for hostnames
Otherwise the tests will fail with `networking.useNetworkd = true;`
because `systemd-resolved` ignores invalid hostnames in `/etc/hosts`
(which is where all hosts from the `nodes`-attribute set end up) and
subsequently e.g. `ssh server_lazy` will fail because the name cannot be
resolved.

In d6e84a4574 the test-framework was
changed to replace all dashes with underscores of hostnames in the
python code to have readable hostnames that are valid. I.e.

    nodes.foo-bar = {}

represents a host with a valid hostname and it can be referenced in the
`testScript` with `foo_bar`.

Applying this here fixes the test for both scripted networking and
networkd.
2023-10-24 14:24:10 +02:00
misuzu
e0d3bcbb53 nixos/tests/installer: add bpool for grub files in zfsroot test 2023-10-24 13:43:21 +02:00
misuzu
b8a547d38b nixos/tests/installer: add postInstallCommands to makeInstallerTest 2023-10-24 13:43:21 +02:00
Michael Hoang
ab1f45f3d3 linux-builder: support x86_64-linux on aarch64 2023-10-24 13:35:37 +02:00
Robin Gloster
e5d552f5b9
treewide: update globin's maintainership 2023-10-24 13:09:45 +02:00
Vladimír Čunát
1ec4e9dea4
nixos/release-combined: drop nixos-rebuild-install-bootloader
... at least until it's fixed.  /cc PR #262724 again.
2023-10-24 09:51:23 +02:00
Maciej Krüger
1ecbbb6e3f
Merge pull request #260595 from adamcstephens/lxc/squashfs
lxc-container: add squashfs image support and release output
2023-10-24 02:06:36 +02:00
Martin Weinelt
6bed1ae794
nixos/tests: fix nixos-rebuild-specialisations test definition 2023-10-23 23:32:37 +02:00
Janik
a5b74d45bd
Merge pull request #262978 from JulienMalka/ferretdb-docs
nixos/ferretdb: fix broken link to documentation
2023-10-23 22:53:21 +02:00
Domen Kožar
4e95cbe36e
Merge pull request #246081 from therealr5/bacula-fix
nixos/bacula: fix postgresql config and remove unneeded quotation marks
2023-10-23 21:42:11 +01:00
Vladimír Čunát
ba583cb184
Merge #262951: nixos/release-combined: drop ZFS+i686 from blockers 2023-10-23 20:34:19 +02:00
Lorenz Leutgeb
cc6c2d32f2
rosenpass: refactor, add module and test (#254813) 2023-10-23 19:29:30 +02:00
Julien Malka
5237796f2b nixos/ferretdb: fix broken link to documentation 2023-10-23 16:48:31 +00:00
Thiago Kenji Okada
7359dcf561
Merge pull request #262852 from lucasew/20231022-byname
treewide: housekeeping of packages maintained by lucasew
2023-10-23 15:48:21 +01:00
Vladimír Čunát
7aec39cc1f
nixos/release-combined: drop ZFS+i686 from blockers
The current state is certainly very wrong - testing ZFS only on i686.
I suspect it was a typo (?) in commit 2de3caf011.

The current practical problem is that the test fails,
though in a part that looks cross-platform (which adds confusion):
https://hydra.nixos.org/build/239290208#tabs-buildsteps
2023-10-23 16:42:37 +02:00
Robert Hensing
4bf1366455
Merge pull request #262724 from thiagokokada/fix-install-bootloader
nixos-rebuild: fix --install-bootloader flag with systemd-run
2023-10-23 15:24:42 +02:00
Maximilian Bosch
3ad1ebe9ff
Merge pull request #258047 from mweinelt/knot-exporter
prometheus-knot-exporter: 2021-08-21 -> 3.3.1; python310Packages.libknot: init at 3.3.1
2023-10-23 15:01:06 +02:00
Thiago Kenji Okada
65cb8b4e01 nixos/tests: make nixos-rebuild tests x86_64-linux only
Depends on GRUB2/BIOS.
2023-10-23 12:39:41 +01:00
Thiago Kenji Okada
ab3ca40d2e nixos/release-combined: add nixos-rebuild-specialisations to release-combined 2023-10-23 12:39:41 +01:00
Thiago Kenji Okada
ccebc89954 nixos/tests: add nixos-rebuild-install-bootloader 2023-10-23 12:39:40 +01:00
Maximilian Bosch
715afeb48b
nixos/tests/prometheus-exporters/knot: update for new exporter version
The knot_server_zone_count metric does not exist anymore, and the next
best thing to watch for is the zone serial, that we define ourselves.

The serial is a number and displayed in the scientific notation, i.e.

    >>> machine.succeed('curl localhost:9433/metrics|grep 019 >&2')
    [...]
    knot # knot_zone_serial{zone="test."} 2.019031301e+09
2023-10-23 13:19:52 +02:00
Martin Weinelt
589ccfdac1
nixos/prometheus-exporters/knot: update for new exporter
The new exporter has proper console scripts definition, that sets up
another executable name.

The package now also shells out to pidof, which is why we require procps
in the unit PATH.
2023-10-23 13:19:52 +02:00
Martin Weinelt
46b989f924
prometheus-knot-exporter: 2021-08-21 -> 3.3.2
The knot upstream forked this exporter and is now maintaining it
alongside Knot DNS itself.
2023-10-23 13:19:51 +02:00
Ryan Lahfa
d1ee91c22d
Merge pull request #262796 from SuperSandro2000/patch-1
nixos/nginx: document implicit default port 80
2023-10-23 11:04:54 +01:00
Martin Weinelt
6ddb74a81a
Merge pull request #262542 from yu-re-ka/matrix-synapse-opentracing
matrix-synapse: remove opentracing optional dependencies
2023-10-23 11:22:25 +02:00
Ryan Lahfa
b9337215cd
Merge pull request #229035 from NixOS/qemu-vm/tpm
qemu-vm: support TPM usecases
2023-10-23 10:10:27 +01:00
K900
a52abd4ccb
Merge pull request #262623 from K900/continued-firefox-cleanups
firefox: start killing all the per-extension options
2023-10-23 10:25:37 +03:00
lucasew
4ec81766c2 cockpit: 287 -> 303
Signed-off-by: lucasew <lucas59356@gmail.com>
2023-10-22 22:39:22 -03:00
Martin Weinelt
0e4b63f713 Revert "nixos/systemd-boot: Avoid remote mypy executions"
This reverts commit ea0dcd0ae1.
2023-10-23 03:38:13 +02:00
Arthur Gautier
08f4fe2087 qemu-vm: stop the swtpm once qemu stops
The idea is to run an async process waiting for swtpm
and we have to ensure that `FD_CLOEXEC` is cleared on this process'
stdin file descriptor, we use `fdflags` for this, a loadable builtin in
Bash ≥ 5.

The async process when exited will terminate `swtpm`, we bind the
termination of the async process to the termination of QEMU by virtue of
having `qemu` exec in that Bash script.

Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
Co-authored-by: Raito Bezarius <masterancpp@gmail.com>
2023-10-23 01:02:24 +02:00
Atemu
e0417d79ff
Merge pull request #262574 from Atemu/installer-no-powersave-governor
installer/nixos-generate-config: don't set powersave cpuFreqGovernor
2023-10-23 00:59:19 +02:00
Martin Weinelt
3244b1eaef
Merge pull request #262678 from plumelo/feat/esphome-proc-subset
esphome: remove ProcSubset from serviceConfig
2023-10-23 00:46:21 +02:00
Sandro
f4d631c3d1
nixos/nginx: document implicit default port 80 2023-10-22 21:32:50 +02:00
Lassulus
448f34e913
Merge pull request #262381 from makefu/pkgs/ps3netsrv/replace-upstream
ps3netsrv: replace with webman mod fork
2023-10-22 20:32:13 +01:00
Emily
a61c6b478d
Merge pull request #262741 from emilylange/nixos-forgejo-postgres15
nixos/forgejo: work around permissions error on `postgresql_15`
2023-10-22 21:04:41 +02:00
Will Fancher
13f325005c
Merge pull request #262740 from ElvishJerricco/systemd-stage-1-improve-udhcpc-assertion
systemd-stage-1: Improve udhcpc assertion
2023-10-22 13:46:38 -04:00
Martin Weinelt
8c5947252d
Merge pull request #262776 from pennae/mosquitto-skip-bind-test
nixos/mosquitto: remove the bind_interface test
2023-10-22 19:28:24 +02:00
pennae
33ba318db6 nixos/mosquitto: remove the bind_interface test
bind_interface is the mosquitto way of trying to bind to all addresses
on an interface, but it is unreliable (trying to bind to link-local v6
addresses *sometimes* but not always) and just prone to failure in
general for reasons we have yet to discover.

since this kind of automatic behavior isn't particularly necessary in a
declarative system we may as well skip it.
2023-10-22 19:12:26 +02:00
Robert Schütz
80f59b1626
Merge pull request #261135 from dotlambda/nixos-iptsd-init
nixos/iptsd: init
2023-10-22 09:48:37 -07:00
Artturi
b2426befa0
Merge pull request #259784 from dmytrokyrychuk/init-spice-autorandr
spice-autorandr: init at 0.0.2
2023-10-22 18:52:10 +03:00
Martin Weinelt
410ccec99c
Merge pull request #261931 from mweinelt/homeassistant-satellite
homeassistant-satellite: init at 2.3.0
2023-10-22 16:53:03 +02:00
K900
e6f5980d87 nixos/tests/firefox: use the module
This should exercise the module a bit in the test, and also removes an awkward override.
2023-10-22 17:13:50 +03:00
K900
60421a1622 firefox: start killing all the per-extension options 2023-10-22 17:13:42 +03:00
Meghea Iulian
bff068e514
esphome: remove ProcSubset from serviceConfig
Remove ProcSubset from esphome serviceConfig because esphome/bwrap needs to
access it.
According to
https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#ProcSubset=
ProcSubset isn't even recommended for most programs.
Fixes #262674
2023-10-22 17:09:00 +03:00
Raito Bezarius
83b131bb55 nixos/tests: adopt newest TPM support in test infra 2023-10-22 16:01:37 +02:00
Raito Bezarius
25872524f0 nixos/qemu-vm: add virtualisation.tpm for running TPM in QEMU infrastructure 2023-10-22 16:01:37 +02:00