Commit graph

9729 commits

Author SHA1 Message Date
Will Fancher 37ee6ba681 Revert "NixOS apply script"
Reverts #344407

This has broken nixos-rebuild switch so that it no longer updates the profile, which has bad consequences including not updating the systemd-boot menu with new generations.
2024-11-01 20:18:09 -04:00
Anderson Torres 77ec23d6af nixos/tests/mpd: update and format
mpc-cli is now mpc
2024-11-01 20:07:04 -03:00
Maximilian Bosch d9bd5a0548
Merge: Fix NixOS tests for various Prometheus exporters (#352602) 2024-11-01 16:49:37 +01:00
Nico Felbinger f2de541dfd
nixos/suricata: add module to modules-list 2024-11-01 14:43:00 +01:00
Aleksana 8013c944ee
nixos/tests/etcd: undo explicit network declaration (#352599) 2024-11-01 21:27:12 +08:00
Adam C. Stephens f1cb012f82
kanidm: 1.3.3 -> 1.4.0 (#352773) 2024-11-01 08:08:41 -04:00
Martin Weinelt 93083489ba
nixos/tests/kanidm: update for 1.4.0 2024-11-01 04:31:04 +01:00
Emily 21980f5e37
nixos/tests/boot-stage1: Adjust for new pgrep output (#352769) 2024-11-01 03:01:10 +00:00
Will Fancher ec7e6bad43 nixos/tests/boot-stage1: Adjust for new pgrep output 2024-10-31 22:37:03 -04:00
Ryan Yin 89b4cb7299 nixos/victoriametrics: harden systemd unit, add more options. 2024-10-31 23:47:02 +08:00
mnv 71efd64768 nixos/tests/etcd: undo explicit network declaration 2024-10-31 20:59:07 +05:30
superherointj 7011a66b4d nixos/tests/k3s/etcd: add etcd health check 2024-10-31 10:54:17 -03:00
Wim de With 44b35795df nixos/tests/prometheus-exporters/lnd: fix bitcoind configuration
bitcoind v28 made a breaking change that affects lnd. This setting
reverts bitcoind to old behavior until lnd is updated to be compatible
with bitcoind v28.
2024-10-31 14:08:35 +01:00
Aleksana ef04eea76a
etcd.nix: minor fixes (#350937) 2024-10-31 18:12:16 +08:00
Aleksana 7720f49ae2
nixosTests.jibri: fix evaluation (#350744) 2024-10-31 17:45:46 +08:00
Aleksana 1d335495b4
nixos/tests/docker-tools-overlay: fix test (#348113) 2024-10-31 17:22:00 +08:00
github-actions[bot] c89d3d9070
Merge master into staging-next 2024-10-31 00:14:46 +00:00
Thomas Gerbet 132cb2a957 varnish74: drop
Varnish 7.4 is EOL and not supported upstream anymore again.
2024-10-31 00:09:41 +01:00
Wim de With 93cce0becc nixos/prometheus: remove tor exporter 2024-10-30 19:42:51 +01:00
OPNA2608 23e40c0ca4 tests/lomiri: Only enable greeter in greeter test
To test a scenario where only the greeter portion is being enabled, not the whole DE.
2024-10-30 18:46:10 +01:00
phanirithvij e4c898c807 nixos/swapspace: add tests
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2024-10-30 22:42:26 +05:30
github-actions[bot] dee80e3490
Merge master into staging-next 2024-10-30 00:14:27 +00:00
Robert Hensing d0b30777a2 nixosTests.nixos-rebuild-specialisations-legacy: init 2024-10-30 00:21:21 +01:00
Robert Hensing 313451b74a nixosTests.rebuild-target-host-legacy: init 2024-10-30 00:21:21 +01:00
Robert Hensing 6427500989 nixos/toplevel: Add bin/apply 2024-10-30 00:21:20 +01:00
RTUnreal c6053a54bb nixos/tests/mailhog: modify test to use system sendmail.
change the test to test the `services.mailhog.setSendmail` option. This
will also test the STMP connection as well.
2024-10-29 19:17:59 +01:00
github-actions[bot] 6bc001ea3b
Merge master into staging-next 2024-10-29 12:06:00 +00:00
Aleksana 91d052e89a
cups vm tests: fix race condition, add more tests (#338193) 2024-10-29 18:56:19 +08:00
K900 0c45a8b5c4 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-28 21:46:13 +03:00
Pol Dellaiera dc8a253d56
nixos/send: init (#351255) 2024-10-28 18:26:33 +01:00
Thomas Gerbet a98b8f618b druid: 30.0.0 -> 31.0.0
Fixes CVE-2024-45384 and CVE-2024-45537.

Release notes:
https://github.com/apache/druid/releases/tag/druid-31.0.0
https://github.com/apache/druid/releases/tag/druid-30.0.1
2024-10-28 14:09:31 +01:00
Aleksana e3bd08b1b4
freetube: 0.21.3 -> 0.22.0 (#351551) 2024-10-28 20:13:20 +08:00
K900 66f01b7af9 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-28 15:11:30 +03:00
Ivan Mincik 120be0345d
qgis: add server support (#267301) 2024-10-28 08:17:33 +00:00
Fabián Heredia Montiel 34b62f7c47 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-27 16:10:56 -06:00
Ryan Omasta cbaccf94d4
nixos/tests/freetube: fix OCR keyword 2024-10-27 12:46:16 -06:00
Moraxyc c9086d8837
nixos/send: init 2024-10-28 00:23:07 +08:00
Yarny0 9bca42857a nixos/tests/printing: test cases for domain socket only config
Add two new vm tests for the printing configuration that
test `listenAddresses = []`, i.e., the situation where cups
only listens on the unix domain socket `/run/cups/cups.sock`.

This helps catching bugs like this:

https://github.com/OpenPrinting/cups/issues/985
https://github.com/NixOS/nixpkgs/pull/337748
2024-10-27 10:52:02 +01:00
Yarny0 2e48883fc4 nixos/tests/printing: inherit lib 2024-10-27 10:47:31 +01:00
Yarny0 1693e1acc0 nixos/tests/printing: fix race of lpstat and ensure-printers
There is a nasty race condition in the cups tests.
To understand what is going on, one must first note that
printers are installed in the vms with ensure-printers.service,
which is started as part of multi-user.target.
ensure-printers.service in turn triggers a start of
cups.service as it needs to connect to the local cups daemon.

This is what happens when the test runs:
1  the test waits for cups.socket or cups.service to start up
   (subtest "Make sure that cups is up on both sides...")
2  after cups.service started
   (it starts even in the "socket" case,
   triggered by ensure-printers.service),
   ensure-printers.service is started
3  the test tries to connect to the cups daemons via curl
   (subtest "HTTP server is available too")
4  the test verifies the required printers are installed
   ("lpstat -a" called by subtest "LP status checks")

Usually, 3 needs some time, so ensure-printers.service
already installed all printers that are required by 4.
But if 3 is too fast, or if ensure-printers.service is too slow,
4 fails to find the printers it is looking for.

One can provoke the problem by adding

> systemd.services.ensure-printers.serviceConfig.ExecStartPre = "/run/current-system/sw/bin/sleep 10";

to the `nodes.client` configuration.

The commit at hand fixes the problem by changing 1:
Instead of waiting for cups,
it now waits for ensure-printers.service
(which in turn waits for cups.service and cups.socket).
This is also in accordance with the
subtest description in the code that promises to
"Make sure that cups is up [...] and printers are set up".
2024-10-27 10:45:38 +01:00
Robert Schütz 2eb3286d9d
mollysocket: 1.4.1 -> 1.5.1 (#351569) 2024-10-26 23:22:06 -07:00
Robert Schütz db2dcfb6f7 mollysocket: 1.4.1 -> 1.5.1
Diff: https://github.com/mollyim/mollysocket/compare/1.4.1...1.5.1

Changelog: https://github.com/mollyim/mollysocket/releases/tag/1.5.1
2024-10-26 21:58:15 -07:00
K900 f21f4ca3ee Merge remote-tracking branch 'origin/master' into staging-next 2024-10-26 21:05:47 +03:00
Emily 7f753fb746
nixos/systemd: Enable systemd-machine-id-commit.service (#351151) 2024-10-26 15:56:09 +01:00
Martin Weinelt 5e10c1522b
nixos/avahi-daemon: set up sandboxing (#348406) 2024-10-26 16:22:04 +02:00
Martin Weinelt ca4f13857c
nixos/coturn: set up sandboxing (#348396) 2024-10-26 16:21:46 +02:00
github-actions[bot] 02bb5e5201
Merge master into staging-next 2024-10-26 00:14:06 +00:00
Maciej Krüger e907f6aa04
odoo: fix tests and update to 18.0 (#346397) 2024-10-26 01:21:04 +02:00
K900 7f898ed413 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-25 21:06:42 +03:00
Frédéric Christ 8f4b41cfd4 nixos/systemd: Enable systemd-machine-id-commit.service
Prior to this contribution, every boot with a default configuration was
considered `ConditionFirstBoot=true` by systemd, since /etc/machine-id
was not commited to disk.

This also extends the systemd with a check for subsequent boots not
being considered first boots.
2024-10-25 14:03:15 +02:00
Rémi NICOLE 0433962e5b
netbox: 3.7.8 -> 4.1.3 (#331750) 2024-10-25 09:09:06 +00:00
github-actions[bot] ef782655d2
Merge master into staging-next 2024-10-24 18:04:38 +00:00
Sefa Eyeoglu 15aad9d3a1
nixos/ntpd: cleanup; add tests (#349633) 2024-10-24 15:21:01 +02:00
Martin Weinelt 8a2439f1c2
nixos/avahi-daemon: set up sandboxing 2024-10-24 15:04:14 +02:00
mnv 3270e162e6
etcd.nix: minor fixes
Adds explicit network configuration for etcd service
Waits for etcd to be fully healthy before running tests
Makes endpoint configuration explicit in etcdctl commands
2024-10-24 18:20:21 +05:30
Nicolas Jeannerod bb9c433426
Update nixos/tests/all-tests.nix
Co-authored-by: Manuel Bärenz <programming@manuelbaerenz.de>
2024-10-24 11:46:02 +02:00
Ivan Mincik 9067c29c9a qgis: add server support 2024-10-24 09:35:24 +02:00
K900 dee94df6f2 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-24 09:28:51 +03:00
Will Fancher c1479242ad
Remove unnecessary loop in stc-ng (#348668) 2024-10-23 23:42:34 -04:00
Minijackson 69610ea296
netbox: switch to netbox_4_1, mark netbox_3_7 as EOL
also switch the netbox-upgrade test to check upgrade from 3.7 -> 4.1
2024-10-23 21:07:32 +02:00
Minijackson c0e16ebce5
netbox_4_1: init at 4.1.3 2024-10-23 21:07:30 +02:00
Minijackson 97815535fb
netbox_4_0: init at 4.0.11
Migrate to pkgs/by-name,
and update the test so that it passes for all versions

This version is added as EOL, since NetBox 4.1 is out,
but it might be still useful in case of an upgrade issue.
2024-10-23 21:07:28 +02:00
github-actions[bot] 606bd3114c
Merge master into staging-next 2024-10-23 18:04:32 +00:00
Noa Aarts 15b94a95ae
nixos/tests/jibri: fix grep string 2024-10-23 18:54:03 +02:00
Noa Aarts ad9dc85556
nixos/tests/jibri: use security.acme.default 2024-10-23 18:51:26 +02:00
Robert Hensing 868c371827
refactor: Use modular NixOS test entrypoint (#350436) 2024-10-23 17:48:28 +02:00
Niols 7518588df6
Add basic NixOS tests for TiMidity++ 2024-10-23 13:22:44 +02:00
phanirithvij 4b7c3e65bd odoo17: init
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2024-10-23 10:22:20 +05:30
github-actions[bot] 5a11b86f67
Merge master into staging-next 2024-10-22 18:04:37 +00:00
Franz Pletz eae71219ea
nixos/wakapi; fix logical errors; add NixOS test (#350435) 2024-10-22 19:02:05 +02:00
Fabián Heredia Montiel fdc64cfee0 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-22 09:14:28 -06:00
Kerstin Humm b12bcabd24
maintainers: remove erictapen from packages that I don't really maintain anymore 2024-10-22 12:32:29 +02:00
Robert Hensing df4376d0fd nixosTests.nixos-rebuild-target-host: Explain fix for switch-to-configuration-ng 2024-10-22 11:39:44 +02:00
NotAShelf 05d349dd29
nixos/tests: add wakapi 2024-10-22 12:33:25 +03:00
Robert Hensing d6ea764629 nixosTests.nixos-rebuild-specialisations: Use modular entrypoint
Modernize it. This allows the test to be extended, and pkgs to be
reused (later) to speed up evaluations a bit.
I believe this also makes it run on darwin hosts, but my linux-builder's
disk is too small to fit the massive closure of this test.

(cherry picked from commit 1396a03bee18a0993a4f3e97fda8938ff61c2918)
2024-10-22 11:12:35 +02:00
Robert Hensing 3362ec8692 nixosTests.nixos-rebuild-target-host: Use modular entrypoint
Modernize it. This allows the test to be extended, and pkgs to be
reused (later) to speed up evaluations a bit.
I believe this also makes it run on darwin hosts, but my linux-builder's
disk is too small to fit the massive closure of this test.

(cherry picked from commit 8c06d2cf667106dd440e7c140e70051dc1c321cb)
2024-10-22 11:11:50 +02:00
github-actions[bot] f2d7c5202d
Merge master into staging-next 2024-10-21 18:04:46 +00:00
Tom Fitzhenry 692b12ceea nixos/tests/spiped: init 2024-10-22 00:26:29 +11:00
github-actions[bot] 557897f89c
Merge master into staging-next 2024-10-21 12:06:04 +00:00
Yt a71d327ded
ejabberd: 23.10 -> 24.07 (#320617) 2024-10-21 05:23:32 -04:00
github-actions[bot] 8164a7aa6d
Merge master into staging-next 2024-10-21 00:14:52 +00:00
K900 099cde3a92
Revert "nixos/ssh: disable authorizedKeysInHomedir by default" 2024-10-20 21:32:29 +03:00
Artturin a0a7eb6616 Merge branch 'master' into staging-next 2024-10-20 19:28:48 +03:00
nicoo 06929a6fb0
nixos/ssh: disable authorizedKeysInHomedir by default (#309025) 2024-10-20 16:19:25 +00:00
github-actions[bot] c38df14dc7
Merge master into staging-next 2024-10-20 06:04:33 +00:00
Pyrox 19c40f0e11
nixos/tests/ntpd: init 2024-10-19 14:26:27 -04:00
Moraxyc 8d90446d39
nixos/cyrus-imap: init module
Co-authored-by: jtbx <jeremy@baxters.nz>
Co-authored-by: pluiedev <hi@pluie.me>
2024-10-20 00:13:24 +08:00
K900 2ab7280fa2 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-19 15:07:50 +03:00
Guillaume Girol 739f624652 nixosTests.os-prober: fix 2024-10-19 12:00:00 +00:00
Aleksana 50e65a512b
teleport_14: remove (#349546) 2024-10-19 16:04:01 +08:00
K900 7907bb800e nixos/tests/keymap: use tty2 for the VT test
tty1 is occupied by X and isn't always released in time,
so just use a clean one to avoid the race
2024-10-19 09:22:55 +03:00
K900 77eb05d7b3 nixos/tests/keymap: cleanup
- remove dead code
- pass around a lot less redundant stuff
- add a timeout to the read so it can actually fail when characters are dropped
- run the input reader in systemd-cat so we can see the errors on console

This does not actually fix the flakiness in the tests, but it should make it
easier to find.
2024-10-19 09:22:30 +03:00
K900 894462661c Merge branch 'master' into staging-next 2024-10-19 09:09:13 +03:00
Peder Bergebakken Sundt 465201822e
nixos/mihomo: fix option type and test (#345891) 2024-10-19 06:58:41 +02:00
github-actions[bot] d0c2de8c22
Merge master into staging-next 2024-10-19 00:14:00 +00:00
nicoo 1f08575e3a nixos/sshd: Disable authorizedKeysInHomedir if stateVersion >= 24.11
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-10-18 20:21:12 +00:00
Gary Guo 9d662d95ee
nixosTests.firewall: add tests for nixos-firewall-tool
Co-authored-by: Rvfg <i@rvf6.com>
2024-10-18 20:17:01 +02:00
Justinas Stankevicius 957fc1302f teleport_14: remove 2024-10-18 17:24:12 +03:00
github-actions[bot] 7c78a608b4
Merge master into staging-next 2024-10-17 18:04:30 +00:00
Jörg Thalheim 7da0a62f4c
nixosTests.nix-upgrade: fix failing test (#346702) 2024-10-17 15:29:47 +02:00
github-actions[bot] 2d65a9d98d
Merge master into staging-next 2024-10-17 00:14:14 +00:00
r-vdp 65f375d172
etc: extend tests to ensure that temporary dirs are cleaned up 2024-10-16 22:24:46 +02:00
Ramses 7715240587
nixos/etc-overlay: avoid rebuilding the initrd every time the etc contents change (#340722) 2024-10-16 22:21:13 +02:00
Robert Schütz a9dee7c45b
immich: 1.117.0 -> 1.118.1 (#348890) 2024-10-16 12:31:58 -07:00
kirillrdy b1428c8f9f
nixosTests.timescaledb: fix build, bump postgres version (#348214) 2024-10-17 06:07:54 +11:00
github-actions[bot] 775bea0160
Merge master into staging-next 2024-10-16 18:04:52 +00:00
Robert Schütz e3152f80bf nixos/immich: change default port to 2283
This was always upstream's default but they also change the internal
port, i.e. behind the reverse proxy, to 2283 in
https://github.com/immich-app/immich/pull/13185.
2024-10-16 10:30:34 -07:00
Nick Cao 8e125ab277
sing-box: 1.9.7 -> 1.10.0 (#348787) 2024-10-16 12:43:13 -04:00
r-vdp a4f7868edf
nixos/etc-overlay: fix VM test for immutable overlay 2024-10-16 17:42:58 +02:00
r-vdp 24bf6e9cb8
nixos/etc-overlay: avoid rebuilding the initrd every time the etc contents change
Before this change, the hash of the etc metadata image was included in
the mount unit that's responsible for mounting this metadata image in the
initrd.
And because this metadata image changes with every change to the etc
contents, the initrd would be rebuild every time as well.
This can lead to a lot of rebuilds (especially when revision info is
included in /etc/os-release) and all these initrd archives use up a lot of
space on the ESP.

With this change, we instead include a symlink to the metadata image in the
top-level directory, in the same way as we already do for things like init and
prepare-root, and we deduce the store path from the init= kernel parameter,
in the same way as we already do to find the path to init and prepare-root.

Doing so avoids rebuilding the initrd all the time.
2024-10-16 17:42:58 +02:00
hellodword a476fdb246
nixos/sing-box: test iproute2_table_index and iproute2_rule_index 2024-10-16 14:18:18 +00:00
hellodword edd07654e4
nixos/sing-box: migration of deprecated fields 2024-10-16 13:28:06 +00:00
github-actions[bot] 05ae933cd6
Merge master into staging-next 2024-10-16 12:05:34 +00:00
Aaron Andersen 2ab323a087
nixos/github-runners: Make 'enable' functional (#342996) 2024-10-16 10:18:14 +02:00
Florian Klink 23f0d0153c
nixos/tests/gerrit: Drop dead hook to LFS plugin (#347660) 2024-10-16 08:46:51 +02:00
github-actions[bot] 961e42940f
Merge master into staging-next 2024-10-16 00:14:08 +00:00
Robert Schütz fb2d897809
nixos/headscale: don't set deprecated options in config (#347991) 2024-10-15 16:22:18 -07:00
Felix Singer 501b85f3d5 nixos/tests/gerrit: Drop dead hook to LFS plugin
The URL scheme for downloading plugins has changed a long time ago and
the used URL is dead. Gerrit only throws an error since it can't load
the plugin but it continues to boot. However, instead of maintaining
URLs to 3rdparty plugins, which end up dead anyway, just drop it. The
test should cover Gerrit and not 3rd party plugins.

Also, while on it, drop the setting `plugins.allowRemoteAdmin = true`
since it's not needed.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-10-15 20:56:22 +02:00
Will Fancher a6e54f566a
nixos/networkd: support systemd-creds in WireGuard (#346964) 2024-10-15 14:31:27 -04:00
github-actions[bot] e2daa3d1b0
Merge master into staging-next 2024-10-15 18:04:32 +00:00
Martin Weinelt 6d9089c67d
nixos/coturn: set up sandboxing 2024-10-15 18:31:52 +02:00
Martin Weinelt 216cb62080
Merge remote-tracking branch 'origin/staging-next' into staging 2024-10-15 18:08:42 +02:00
rnhmjoj 127dcca388
nixos/tests/networking: test nameservers via DHCP 2024-10-15 11:53:05 +02:00
Yaya 209b7f634b nixosTests.snipe-it: fix test 2024-10-15 09:11:35 +02:00
Jared Baur 7c828e9e1a
nixosTests.amazon-init-shell: test switching during amazon-init
In order to emulate the `nixos-rebuild switch` that is called if the EC2
user data is a nix expression, run the switch-to-configuration script
for the current running config.
2024-10-14 20:27:16 -07:00
github-actions[bot] 31b11f1926
Merge staging-next into staging 2024-10-15 00:14:36 +00:00
Artturin 431d0a19ef
xdg-desktop-portal: Fix installedTests (#344743) 2024-10-14 21:36:39 +03:00
github-actions[bot] 873f258025
Merge staging-next into staging 2024-10-14 18:04:57 +00:00
Adam C. Stephens 86420f4ee8
nixos/atticd: init module (#347749) 2024-10-14 09:33:35 -04:00
github-actions[bot] b9f01e6de3
Merge staging-next into staging 2024-10-14 12:06:08 +00:00
Maximilian Bosch 782b08ba3d
Merge: percona: update packages, init 8.4 (#346027) 2024-10-14 12:40:48 +02:00
Markus Kowalewski 812640f38a
nixos/saunafs: add module + test (#347337) 2024-10-14 09:24:51 +02:00
Vladimír Čunát a3c0b3b215
Revert "nixos/tests/networking: test nameservers via DHCP"
This reverts commit bad5251e87.

https://github.com/NixOS/nixpkgs/pull/348305#issuecomment-2410165312
Should've known that commit starting with `bad` will be no good.
Fixes nixosTests.networking.networkd.dhcpSimple
https://hydra.nixos.org/build/274843085/nixlog/8/tail
2024-10-14 08:48:30 +02:00
Oliver Schmidt 6d0da9a167 tests/mysql: properly specify percona packages 2024-10-13 23:04:24 +02:00
Martin Weinelt db13b6d4c4 Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/development/python-modules/mlflow/default.nix
- pkgs/development/python-modules/napari/default.nix
2024-10-13 15:36:55 +02:00
Adam Stephens 8d4f3f2b3e
nixos/atticd: init module
Copied from 1b29816235/nixos/atticd.nix and modified
2024-10-13 08:23:34 -04:00
Azat Bahawi cceb5afb5c
nixosTests.endlessh-go: fix to match current module (#347976) 2024-10-13 09:10:04 +00:00
Kirill Radzikhovskyy df3ae6ee5c nixosTests.timescaledb: fix build, bump postgres version 2024-10-13 19:21:23 +11:00
Felix Singer e7f53bf02f nixos/tests/redmine: Limit architectures to supported ones
In order to avoid unnecessary CI errors regarding unsupported
architectures, limit the target architectures to the supported ones by
the Redmine package.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-10-13 03:40:22 +02:00
github-actions[bot] bf97df9c1c
Merge staging-next into staging 2024-10-13 00:15:51 +00:00
K900 001fb496bf Merge remote-tracking branch 'origin/master' into staging-next 2024-10-12 21:08:11 +03:00
Markus Kowalewski d22d60f3ac
nixos/saunafs: add module + test 2024-10-12 19:13:00 +02:00
ghpzin c14ec3582e nixos/tests/docker-tools-overlay: fix test
- change `virtualisation.docker.storageDriver` from deprecated `overlay`
to `overlay2`. Using `overlay` dockerd fails to start with error:
`ERROR: the overlay storage-driver has been deprecated and removed`
https://docs.docker.com/engine/deprecated/#legacy-overlay-storage-driver
2024-10-12 18:58:25 +03:00
Cosima Neidahl e58a261efb
lomiri.*: Updates (#341377) 2024-10-12 16:49:25 +02:00
K900 ca82458e77 nixos/tests/nixos-rebuild-target-host: fix test
Fixes #348043
2024-10-12 10:32:59 +03:00
Robert Schütz b5cb8fb063 nixos/tests/headscale: set dns.base_domain
Otherwise the test fails with

    dns.base_domain must be set when using MagicDNS
2024-10-11 20:10:31 -07:00
github-actions[bot] 9f6509c682
Merge staging-next into staging 2024-10-12 00:14:07 +00:00
github-actions[bot] 4f2eec3440
Merge master into staging-next 2024-10-12 00:13:45 +00:00
Philipp Bartsch 60eaae1d78 nixosTests.endlessh-go: fix to match current module
Tests were not changed according to the new prometheus firewall port
settings.

With this change we now check that the port is not accessible form the
outside, while everything still works from localhost.
2024-10-11 21:30:19 +02:00
Atemu 12ef18d2e3
nixos/systemd-boot: Simpler windows dual booting (#344327) 2024-10-11 20:25:08 +02:00
github-actions[bot] a0cb562430
Merge staging-next into staging 2024-10-11 12:06:07 +00:00
github-actions[bot] ca2d394166
Merge master into staging-next 2024-10-11 12:05:38 +00:00
Sandro eac17593c1
croc: 10.0.11 -> 10.0.13 (#338918) 2024-10-11 11:38:18 +02:00
Felix Uhl 73011ba96f nixos/systemd-boot: add windows option for easy dual-booting
When installing NixOS on a machine with Windows, the "easiest" solution
to dual-boot is re-using the existing EFI System Partition (ESP), which
allows systemd-boot to detect Windows automatically.

However, if there are multiple ESPs, maybe even on multiple disks,
systemd-boot is unable to detect the other OSes, and you either have to
use Grub and os-prober, or do a tedious manual configuration as
described in the wiki:
https://wiki.nixos.org/w/index.php?title=Dual_Booting_NixOS_and_Windows&redirect=no#EFI_with_multiple_disks

This commit automates and documents this properly so only a single line
like

    boot.loader.systemd-boot.windows."10".efiDeviceHandle = "HD0c2";

is required.

In the future, we might want to try automatically detecting this
during installation, but finding the correct device handle while the
kernel is running is tricky.
2024-10-11 10:56:02 +02:00
Felix Uhl f2e5b04c4e nixos/systemd-boot: add edk2-uefi-shell boot option
We already have a edk2-uefi-shell package in nixpkgs, but adding it to
systemd-boot was somewhat tedious. Now it's a single line of nix.
2024-10-11 10:53:42 +02:00
Felix Uhl 548206583d nixos/systemd-boot: autoformat 2024-10-11 10:53:38 +02:00
OPNA2608 1b660ba22a tests/lomiri: Test keymap switch, make keymap OCR more consistent 2024-10-11 05:18:44 +02:00
OPNA2608 6037708c33 lomiri.lomiri-content-hub: Rename from lomiri.content-hub, 1.1.1 -> 2.0.0 2024-10-11 05:17:29 +02:00
github-actions[bot] 61a438a474
Merge staging-next into staging 2024-10-10 12:06:10 +00:00
github-actions[bot] a5883bc172
Merge master into staging-next 2024-10-10 12:05:39 +00:00
Franz Pletz 1479e0c4de
nixos/frr: refactor (#327099) 2024-10-10 12:55:34 +02:00
Pol Dellaiera a72a8bcfb3
treewide: fix typo chown -> chmod (#347678) 2024-10-10 10:55:34 +02:00
r-vdp 30a99334c3
nixos/tmate-ssh-server: Fix typo, chown -> chmod 2024-10-10 09:03:55 +02:00
r-vdp 89abe3c610
nixos/nebula: Fix typo, chown -> chmod 2024-10-10 09:03:29 +02:00
Frank Doepper ecdfb14ef9 nixos/frr: refactor
- use upstream service and scripts
- switch to integrated-vtysh-config, abandon per-daemon config
- use always daemon names in options (e.g. ospf -> ospfd)
- zebra, mgmtd and staticd are always enabled
- abandon vtyListenAddress, vtyListenPort options; use
  just "extraOptions" or "options" instead, respectively
- extend test to test staticd
- update release-notes
- pkgs.servers.frr: fix sbindir and remove FHS PATH
- introduce services.frr.openFilesLimit option
2024-10-09 22:49:50 +02:00
Sandro Jäckel cb097d74cc
nixos/tests/croc: fix --pass argument and code passing 2024-10-09 17:40:39 +02:00
Sandro Jäckel fc264c25c2
croc: remove inactive maintainer; nixos/tests/croc: match maintainer with package 2024-10-09 17:39:40 +02:00
github-actions[bot] 7bcc9dd470
Merge staging-next into staging 2024-10-09 12:07:41 +00:00
github-actions[bot] 0b14a71873
Merge master into staging-next 2024-10-09 12:06:03 +00:00
Florian Klink c2a2f68c8c nixosTests.openresty-lua: simplify
There's no point for the intermediate `getPath` function calling
`getLuaPath` with the "lua" argument.
There's also no other nginx test this copies code from.

We always call `getLuaPath` with "lua", so constant-propagate it in.

Also, camel-case `lualibs` to `luaLibs.`
2024-10-09 14:12:14 +03:00
github-actions[bot] a0b1d0baed
Merge staging-next into staging 2024-10-07 12:06:11 +00:00
github-actions[bot] b33aedbb4d
Merge master into staging-next 2024-10-07 12:05:43 +00:00
Sandro 41dd374aa4
nixosTests: fixup tests/common/resolver to work with a local resolver (#346793) 2024-10-07 10:35:03 +02:00
Cosima Neidahl a825406b15
lomiri.lomiri: Replace NIXOS_XKB_LAYOUTS envvar with file (#345288) 2024-10-07 09:33:40 +02:00
github-actions[bot] 6c9d940294
Merge staging-next into staging 2024-10-07 06:05:43 +00:00
github-actions[bot] 5fa43e7396
Merge master into staging-next 2024-10-07 06:05:15 +00:00
James Atkins 68483a7bad nixos/networkd: test systemd-creds in WireGuard 2024-10-06 22:27:21 -05:00
Emily 1a53b400e5
mongodb: mongodb-5_0 -> mongodb-7_0; mongodb-5_0: drop; unifi: unifi7 -> unifi8; unifi{7,-video}: drop (#345625) 2024-10-07 01:38:54 +01:00
Emily 086676017e mongodb: mongodb-5_0 -> mongodb-7_0 2024-10-06 22:47:42 +01:00
Emily b0395df085 unifi7: drop 2024-10-06 22:47:41 +01:00
K900 84fce7e588 Merge remote-tracking branch 'origin/staging-next' into staging 2024-10-06 21:11:05 +03:00
github-actions[bot] 7ab01e096c
Merge master into staging-next 2024-10-06 18:03:58 +00:00
Michele Guerini Rocco 7eef63ed98
wpa_supplicant: add patch to fix ext_passwords_file bug (#342792) 2024-10-06 19:15:19 +02:00
Michele Guerini Rocco 463f8b8ed4
nixos/tests/dnsdist: fix dnscrypt test (#346843) 2024-10-06 19:12:07 +02:00
Arthur Gautier a32dbada18 nixosTests: fixup tests/common/resolver to work with a local resolver
When 757a455dde refactored the zones to go
from a list to a map, this broke the tests/common/resolver helper.

reproduction:
```
let
  pkgs = import <nixpkgs> {};

  testConfig = {
    name = "resolver-repro";
    nodes = {
      acme = { nodes, ... }: {
        imports = [ (pkgs.path + /nixos/tests/common/acme/server) ];
      };
    };

    testScript = ''
    '';
  };
in pkgs.nixosTest testConfig
```
2024-10-06 15:18:45 +00:00
Sandro 0cc879fa99
nixos/tests/non-default-filesystems: fix btrfs mount regex (#340702) 2024-10-06 14:08:21 +02:00
Sandro 85100fcc51
nixos/tests/tmate-ssh-server: fix test (#342318) 2024-10-06 14:07:14 +02:00
Sandro 020c26717f
nixos/quorum: fix geth args, fix test (#341181) 2024-10-06 14:06:31 +02:00
Sandro c0ad8503fa
nixos/tests/pgjwt: fix test (#341150) 2024-10-06 14:05:36 +02:00
rnhmjoj cf614ee789
nixos/tests/dnsdist: fix dnscrypt test 2024-10-06 11:34:57 +02:00
github-actions[bot] bbea34947c
Merge staging-next into staging 2024-10-06 06:05:02 +00:00
github-actions[bot] 7dc1e4239b
Merge master into staging-next 2024-10-06 06:04:33 +00:00
Peder Bergebakken Sundt 90c1e58d22
zammad: 6.2.0 -> 6.3.1 (#345456) 2024-10-06 03:00:44 +02:00
github-actions[bot] 480db5cf27
Merge staging-next into staging 2024-10-06 00:15:59 +00:00
github-actions[bot] ff851b037d
Merge master into staging-next 2024-10-06 00:15:37 +00:00
Nick Cao 5f821de20c
keycloak: 25.0.6 -> 26.0.0 (#346439) 2024-10-05 18:14:45 -04:00
Jared Baur c2621cb78a
nixosTests.nix-upgrade: fix failing test
The test currently fails because we attempt to switch to a NixOS
configuration that is _very_ different from the one we are switching
from (e.g. the new configuration has an entirely empty /etc/fstab,
causing switch-to-configuration to want to start unmounting all
filesystems defined in the old configuration).
2024-10-05 09:51:28 -07:00
Nick Cao 937d3964c9
nixos/keycloak: raise memory size in tests to 2047M 2024-10-04 21:43:19 -04:00
Nick Cao 05caac302f
nixos/keycloak: fixup login test after ui change 2024-10-04 20:39:55 -04:00
github-actions[bot] 32379e1a0b
Merge staging-next into staging 2024-10-05 00:14:22 +00:00
github-actions[bot] e9c8665026
Merge master into staging-next 2024-10-05 00:14:01 +00:00
Artturin f6d0724717 xdg-desktop-portal: Fix installedTests 2024-10-04 22:06:22 +03:00
Luflosi 7a12fe7b2f
apfsprogs: unstable-2023-11-30 -> 0-unstable-2024-09-27
Diff: 990163894d...f31d7c2d69

This adds `apfs-label`, a new utility, so add a small test for it.
2024-10-04 15:50:10 +02:00
github-actions[bot] 483deb3a04
Merge staging-next into staging 2024-10-04 12:06:05 +00:00
github-actions[bot] 5942e21e4e
Merge master into staging-next 2024-10-04 12:05:36 +00:00
Ivan Mincik e478171269
postgis: 3.4.3 -> 3.5.0 (#346151) 2024-10-04 08:30:34 +00:00
Pol Dellaiera 2199b69a7a
nixos/privatebin: init module & privatebin: init at 1.7.4 (#344014) 2024-10-04 09:51:40 +02:00
github-actions[bot] 19ddd24728
Merge staging-next into staging 2024-10-04 00:14:46 +00:00
github-actions[bot] 579054c806
Merge master into staging-next 2024-10-04 00:14:14 +00:00
h7x4 c760c830d4
nixos/fedimintd: init service (#322815) 2024-10-03 23:53:30 +02:00
Nico Felbinger 924ee0c2bc nixos/suricata: init module 2024-10-03 22:50:30 +02:00
Dawid Ciężarkiewicz ba727987d4
nixos/fedimintd: init services 2024-10-03 13:05:12 -07:00
github-actions[bot] ae87c79207
Merge staging-next into staging 2024-10-03 18:05:09 +00:00
github-actions[bot] 192fd67cc3
Merge master into staging-next 2024-10-03 18:04:30 +00:00
Augustin Trancart 406609b044 postgresqlPackages.postgis: add more nixos tests 2024-10-03 19:31:10 +02:00
h7x4 5190ddc27d
treewide: \xc2\xa0 -> (#345898) 2024-10-03 18:23:59 +02:00
h7x4 75b209227d
wstunnel: 10.1.1 -> 10.1.3 (#346011) 2024-10-03 17:28:05 +02:00
github-actions[bot] 6a5c2ed1b9
Merge staging-next into staging 2024-10-03 12:06:10 +00:00
github-actions[bot] ca0b5f7edc
Merge master into staging-next 2024-10-03 12:05:39 +00:00
r-vdp bf8c66fc22
wstunnel: run the VM test on Linux only 2024-10-03 11:50:43 +02:00
Florian Klink 3ae3a4fb69
nixos/tests/acme: Better error handling (#250260) 2024-10-03 11:41:53 +03:00
Florian Klink 3398bb12a9
nixos/tests/acme: Fix fullchain validation (#346023) 2024-10-03 11:39:19 +03:00
Bjørn Forsman 2a13d67dcc nixosTests.scrutiny: remove explicit wait for influxdb2
Explicitly waiting for influxdb2 in the test, instead of fixing the
underlying issue[1], was hiding a real bug[2]. Now that the bug has been
fixed we can remove the wait code.

[1] Commit 732d36522f ("nixos/influxdb2: wait until service is ready")
[2] https://github.com/NixOS/nixpkgs/issues/317017 ("Scrutiny tries to start before influxdb has started")
2024-10-03 08:10:56 +02:00
Lucas Savva ffc9bf1882 nixos/tests/acme: Better error handling
Added a decorator function to handle any
exceptions generated by test functions and
apply some retry logic with backoff.

Also wrapped the unwrapped add-a curl which
was causing some fails.
2024-10-02 23:07:37 +01:00
Lucas Savva b2758880b3 nixos/tests/acme: Fix fullchain validation
In the next release of Pebble, the certificate
subject is no longer populated with a useful domain name.
This change will refactor the fullchain validation assertions
to avoid checking the subject line.
2024-10-02 23:02:51 +01:00
github-actions[bot] 9b7fb37f2f
Merge staging-next into staging 2024-10-02 18:05:16 +00:00
github-actions[bot] b90a808faa
Merge master into staging-next 2024-10-02 18:04:34 +00:00
Emily 7033ba8331
switch-to-configuration-ng: update rust-ini to support multi-line INI… (#343145) 2024-10-02 16:04:20 +01:00
Sandro d44717c448
nixos/binfmt: Add option to use static emulators when available (#334859) 2024-10-02 15:51:30 +02:00
Peder Bergebakken Sundt 3100acba08 treewide: \xc2\xa0 ->
I have no idea what this escape sequence even is, but it breaks the nix parser with cryptic errors if not used in a comment.
A friend let me know MacOS is prone to input weird spaces, not sure if that is the source.

Candidates were located and created with:

    chr="$(echo -e '\xc2\xa0')"; rg -F "$chr" -l | xe sd -F "$chr" " "

There are some examples left, most being example output from `tree` in various markdown documents, some patches which we can't really touch, and `pkgs/tools/nix/nixos-render-docs/src/tests/test_commonmark.py` which I'm not sure if should be addressed
2024-10-02 15:33:06 +02:00
github-actions[bot] 514c3e33c0
Merge staging-next into staging 2024-10-02 12:06:13 +00:00
github-actions[bot] 58677f23e2
Merge master into staging-next 2024-10-02 12:05:45 +00:00
Peder Bergebakken Sundt 93da11def1 nixos/tests/mihomo: implement check correctly, fix target value 2024-10-02 11:18:29 +02:00
Pol Dellaiera 075be3e70b
nixos/gatus: init module (#294469) 2024-10-02 11:08:14 +02:00
Doron Behar cb793d5383
nextflow: 22.10.6 -> 24.08.0-edge + remove buildFHSEnv + compile from source + add tests (#339197) 2024-10-02 09:36:29 +03:00
Zhaofeng Li fc0cc3fe27 nixos/tests/systemd-binfmt: Add chroot test 2024-10-02 08:48:09 +09:00
github-actions[bot] 2dcb5af1fb
Merge staging-next into staging 2024-10-01 18:05:10 +00:00
github-actions[bot] c3c8b24e1c
Merge master into staging-next 2024-10-01 18:04:42 +00:00
Nick Cao 89284118a9
nixos/sing-box: test distribution specific features (#343641) 2024-10-01 13:42:59 -04:00
Guanran Wang a2a4c87cab
{,nixos/,nixosTests/}redlib: add Guanran928 as maintainer 2024-10-01 22:10:27 +08:00
Guanran Wang e286b91ebc
{nixos,nixosTests}/redlib: format with nixfmt 2024-10-01 22:07:58 +08:00
Maximilian Bosch 25fe330bc9
Merge: nextcloud30: init at 30.0.0; nextcloud30Packages: init (#342521) 2024-10-01 14:51:56 +02:00
K900 e3bf09623f Merge remote-tracking branch 'origin/master' into staging-next 2024-10-01 15:09:28 +03:00
Florian Klink b66c0f2e99
nixos/systemd: let systemd setup /etc/machine-id (#327552) 2024-10-01 15:05:59 +03:00
Savyasachee Jha 2a06cac30a nixos/tests/privatebin: init 2024-10-01 17:12:42 +05:30
Maximilian Bosch 07c824db7f
Merge: nixos/nextcloud: re-add declarative-redis-and-secrets to matrix (#345592) 2024-10-01 13:42:39 +02:00
Jonas Heinrich 1b121c1ea2
nextcloud30: init at 30.0.0 2024-10-01 12:48:45 +02:00
Maximilian Bosch f800d8e42b
nixos/postgresql: enable private /tmp & private mounts; fix wal-receiver test
The issue was that the old test-case used `/tmp` to share data. Using
`JoinsNamespaceOf=` wasn't a real workaround since the private `/tmp` is
recreated when a service gets stopped/started which is the case here, so
the wals were still lost.

To keep the test building with `PrivateTmp=yes`, create a dedicated
directory in `/var/cache` with tmpfiles and allow the hardened
`postgresql.service` to access it via `ReadWritePaths`.
2024-10-01 10:31:20 +02:00
Martin Weinelt 2ebffcc4c7
nixos/postgresql: set up sandboxing
Reduces the general exposure of the postgresql.service through systemd
hardening options.
2024-10-01 10:31:20 +02:00
github-actions[bot] 910adea78f
Merge staging-next into staging 2024-10-01 06:05:25 +00:00
K900 3f7da3dfa9 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-01 08:44:24 +03:00
hellodword 10fb67f966
nixos/sing-box: test distribution specific features 2024-10-01 00:09:01 +00:00
h7x4 da8a5a1f77
healthchecks: 3.4 -> 3.6 (#345283) 2024-10-01 01:26:14 +02:00
h7x4 636185e25a
seafile: 10.0.1 -> 11.0.12 (#318727) 2024-09-30 23:53:02 +02:00
Maximilian Bosch 02be206846
nixos/nextcloud: add nc version to drv name of mysql & declarative redis test 2024-09-30 22:21:29 +02:00
Maximilian Bosch cd6157bea4
nixos/nextcloud: re-add declarative-redis-and-secrets to matrix
Just noticed that I apparently disabled this test while restructuring
the Nextcloud tests[1] effectively disabling the test.

This patch re-adds it and adjusts the code accordingly.

I also noticed that the old check whether the cache is actually used
(`test "[]" = "$(redis-cli --json KEYS "*")"`) was broken because the
`nextcloud.fail()` hid the fact that the `redis-cli` invocation was
failing due to a missing password. Fixed the subtest accordingly.

[1] 0b31ada92b
2024-09-30 22:15:03 +02:00
pinage404 83b1350904 nixos/open-webui: fix opensearch
When [adding Open WebUI as search engine in Firefox](https://docs.openwebui.com/tutorials/integrations/browser-search-engine/#for-firefox) it always links to `http://localhost:3000` instead of the configured port

It is because [the response use `WEBUI_URL` environment variable](1d225dd804/backend/open_webui/main.py (L2370)) which [is set by default to `1d225dd804/backend/open_webui/env.py (L106))
2024-09-30 17:28:11 +02:00
Rolf Schröder 9cd78fd3a6 tests/nextflow: restrict to x86_64-linux
The docker image hash seems to differ on different systems.
See https://github.com/NixOS/nixpkgs/pull/339197#discussion_r1779927407
2024-09-30 11:20:18 +02:00
Quentin Smith ea044760ce
zammad: 6.2.0 -> 6.3.1
This also fixes the build with the current version of Ruby.
2024-09-30 04:01:28 -04:00
github-actions[bot] eea46ac5bd
Merge staging-next into staging 2024-09-30 00:15:14 +00:00
Alyssa Ross ac037f0b18
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/compilers/llvm/common/default.nix
2024-09-29 20:10:12 +02:00
Weijia Wang 27e93e3061
go-ethereum: 1.14.8 -> 1.14.9 (#342934) 2024-09-29 16:21:23 +02:00
OPNA2608 85e63d0540 lomiri.lomiri: Replace NIXOS_XKB_LAYOUTS envvar with file
This only ever worked for the session, not for the greeter. Writing the information out to a file should be more consistent.

To make sure that this works, and continues working, for the greeter & session, also add a new VM test.
2024-09-29 14:51:04 +02:00
phaer d179a5e5ba healthchecks: 3.4 -> 3.6 2024-09-29 13:32:32 +02:00
melvyn 073099d0f7
nixos/seafile: add persistent user, configurable storage path, gc service 2024-09-28 19:09:58 -04:00
github-actions[bot] 722e19e01f
Merge staging-next into staging 2024-09-28 18:04:43 +00:00
github-actions[bot] 8693fc15c4
Merge master into staging-next 2024-09-28 18:04:13 +00:00
Danilo Reyes 056fc213e6
modules/obs-studio: optionally enable v4l2loopback (#312112)
* modules/obs-studio: optionally enable v4l2loopback

* add test

* added documentation to 24.11 changelog
2024-09-28 19:43:06 +02:00
Franz Pletz 79a01a8631
pleroma: 2.6.3 -> 2.7.0 (#333283) 2024-09-28 15:36:27 +02:00
github-actions[bot] c101f2dc94
Merge staging-next into staging 2024-09-27 18:04:55 +00:00
github-actions[bot] 911b856128
Merge master into staging-next 2024-09-27 18:04:26 +00:00
Picnoir e7edb95142 pleroma: 2.6.3 -> 2.7.0
Upstream Changelog: https://git.pleroma.social/pleroma/pleroma/-/releases/v2.7.0

Nixpkgs package changelog:
- build with elixir 1.17.
- update dependencies hashes.
- remove prometheus_phoenix as it's apparently unused.
- fix git deps.
- update OTP permission restriction patch.
- modify test to work (adapt from akkoma test).

Co-authored-by: Leona Maroni <dev@leona.is>
2024-09-27 19:29:41 +02:00
Sandro 10ae9d0b8f
nixos/rss-bridge: Add simple NixOS test (#331291) 2024-09-27 16:59:57 +02:00
github-actions[bot] 6401f1172e
Merge staging-next into staging 2024-09-27 12:06:15 +00:00
github-actions[bot] 22165c231d
Merge master into staging-next 2024-09-27 12:05:46 +00:00
Adam C. Stephens f451c38542
openvswitch: remove kernel, add tests (#344653) 2024-09-27 07:03:12 -04:00
Weijia Wang 63ab048916 nixos/geth: add holesky testnet 2024-09-27 01:17:21 +02:00
github-actions[bot] c5d56bc391
Merge staging-next into staging 2024-09-26 18:05:01 +00:00
github-actions[bot] c8c18095f9
Merge master into staging-next 2024-09-26 18:04:33 +00:00
Atemu 3bacd4d90b
nixos/doc, nixosTests.zfs: remove latestCompatibleLinuxPackages (#344649) 2024-09-26 18:05:26 +02:00
Adam Stephens 52335fc1b0
openvswitch: init simple bridge test and add incus test 2024-09-26 09:26:10 -04:00
Atemu 9c0a988e11 nixosTests.zfs: remove latestCompatibleLinuxPackages usage 2024-09-26 15:06:19 +02:00
Franz Pletz e1635a35b9
nixos/nginx: add option typesHashMaxSize (#341072) 2024-09-26 14:42:26 +02:00
Izorkin 9343e69f8f
nixos/tests/nginx-mime: add check optimal size of types_hash 2024-09-26 10:51:59 +03:00
Rolf Schröder 8d15ee11ac tests/nextflow: init 2024-09-26 10:10:03 +03:00
github-actions[bot] 3b110ff21b
Merge staging-next into staging 2024-09-26 00:14:18 +00:00
K900 a9128ce2f2 Merge remote-tracking branch 'origin/master' into staging-next 2024-09-25 21:07:19 +03:00
Robert James Hernandez 57b9f12728 nixos/scion: init scion ip gateway config in test
create a scion-ip-gateway between scion04 and scion05
2024-09-25 19:08:33 +02:00
Robert James Hernandez 828ce9b123 nixos/scion: breakout bootstrap.sh in freestanding 2024-09-25 19:08:33 +02:00
Maximilian Bosch fc16319c06
Merge: postgresqlPackages: refactor extension checks with helper (#343486) 2024-09-25 19:06:11 +02:00
Franz Pletz 2ae5404ed9
scion: vmTest should fail if certs expire (#342107) 2024-09-25 17:16:46 +02:00
Artturin f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
Maximilian Bosch bc21f77ff6
nixos/pgjwt: fix test 2024-09-24 23:26:58 +02:00
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
github-actions[bot] bcd5388d39
Merge master into staging-next 2024-09-24 12:05:12 +00:00
Alois Wohlschlager 3616cfb8d9 replaceDependencies: add support for ca-derivations
Unlike regular input-addressed or fixed-output derivations, floating and
deferred derivations do not have their store path available at evaluation time,
so their outPath is a placeholder. The following changes are needed for
replaceDependencies to continue working:
* Detect the placeholder and retrieve the store path using another IFD hack
  when collecting the rewrite plan.
* Try to obtain the derivation name needed for replaceDirectDependencies from
  the derivation arguments if a placeholder is detected.
* Move the length mismatch detection to build time, since the placeholder has a
  fixed length which is unrelated to the store path.
2024-09-24 12:20:15 +02:00
Alois Wohlschlager fee5c7e1c2 replaceDependencies: add tests
The tests cannot be directly built by Hydra, because replaceDependencies relies
on IFD. Instead, they are put inside a NixOS test where they are built on the
guest.
2024-09-24 12:20:15 +02:00
Yt d026e3fa1a
immich: init at 1.115.0; nixos/immich: init module (#324127) 2024-09-24 05:56:12 -04:00
Jan van Brügge 9d834dc4ec
nixos/tests/immich: init tests 2024-09-23 22:38:03 +02:00
github-actions[bot] 9a6f63ebed
Merge master into staging-next 2024-09-23 18:04:34 +00:00
Simon Hauser 32cc042368
mariadb: 10.5.26, 10.6.19, 10.11.9, 11.4.3 (#334878)
* mariadb: 10.5.26, 10.6.19, 10.11.9, 11.4.3

* nixos/tests/automysqlbackup: nixfmt

* nixos/automysqlbackup: fix tests

* nixos/tests/mariadb-galera: nixfmt

* nixos/tests/mariadb-galera: fix test failing with new default IPv6 configuration
2024-09-23 20:00:19 +02:00
Martin Weinelt 9b9ca77050
nixos/logrotate: harden systemd unit (#339050) 2024-09-23 17:49:29 +02:00
Jörg Thalheim 5edd6d6ef2
nixosTests.k3s.{single-node,multi-node}: enable check-config for aarch64 (#343296) 2024-09-23 16:44:27 +02:00
github-actions[bot] ac34133fb9
Merge master into staging-next 2024-09-23 12:05:36 +00:00
tilpner 0c24185366 nixos: set system.stateVersion from the nixpkgs release, not version
The nixpkgs/nixos version includes a suffix like "pre-git" or
"pre676716.6f16e67b4921", which does not match the conventional
"XX.YY" format of system.stateVersion.

Unifying the format to "XX.YY" allows for (stricter) validation (see #317858),
and the introduction in 3a5ff9a68c was
only concerned with silencing warnings, so the addition of the "pre.*"
suffix into stateVersion was probably unintentional.
2024-09-23 12:18:11 +02:00
Fabián Heredia Montiel 9b2a506736 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:

- pkgs/tools/package-management/nix/default.nix
2024-09-22 13:45:27 -06:00
Leona Maroni 761ae3237c
dependency-track: init at 4.11.6 (#328669) 2024-09-22 18:49:11 +02:00
Maximilian Bosch 179b6bce21
Merge: linux_4_19: drop (#343283) 2024-09-22 16:46:54 +02:00
Alexander Sieg 3b04bffbd5
nixos/dependency-track: add nixos test 2024-09-22 16:38:45 +02:00
Alexander Sieg 5b67f3b831
nixos/dependency-track: init module 2024-09-22 16:38:45 +02:00
Fabián Heredia Montiel 777c1bc861 linux_4_19: drop since it will reach EOL within NixOS 24.11 2024-09-21 19:11:50 -06:00
github-actions[bot] 94770996ae
Merge master into staging-next 2024-09-22 00:15:32 +00:00
Matthieu Coudron a6df665571
Playwright: browser improvements, update (#298944) 2024-09-21 21:50:25 +02:00
github-actions[bot] f2c1ad7ad5
Merge master into staging-next 2024-09-21 18:03:54 +00:00
Weijia Wang 1b1e09e8d3
zutty: init at 0.16-unstable-2024-08-18 (#336255) 2024-09-21 17:36:18 +02:00
Jared Baur f6fed8b831
nixos/switch-test: add test for multi-line unit values 2024-09-21 08:28:03 -07:00
github-actions[bot] d3ae261fc3
Merge master into staging-next 2024-09-21 12:05:16 +00:00
Maximilian Bosch 789562caae
Merge: nixos/tests: add postgresql wal2json test (#315095) 2024-09-21 13:27:22 +02:00
github-actions[bot] 7fc19ff961
Merge staging-next into staging 2024-09-20 18:05:01 +00:00
Ryan Lahfa fed418aaf1
add support for building fully dm-verity protected images with systemd-repart (#343252) 2024-09-20 19:59:50 +02:00
Quag 3115573f29 zutty: init at 0.16-unstable-2024-08-18 2024-09-20 19:24:35 +02:00
superherointj e9002b6b54 nixosTests.k3s.{single-node,multi-node}: nixfmt 2024-09-20 13:08:41 -03:00
superherointj 05e13bffe1 nixosTests.k3s.{single-node,multi-node}: enable check-config for aarch64 2024-09-20 12:54:58 -03:00
WilliButz 56d038e17d
nixos/tests/appliance-repart-image-verity-store: init
This test should illustrate how to build a verity-protected NixOS image
with systemd-repart, using the opinionated image.repart.verityStore module.
2024-09-20 17:35:49 +02:00
phaer 01fd62f37a tests/playwright-python: init
For some reason, chromium, which is still the nixpkgs version hangs
 inside the normal test vm, while working fine in .driverInteractive.

I suspect that might have to do with the existence of a display in
.driverInteractive. Neither vm does run X11 or wayland.
2024-09-20 14:52:35 +02:00
github-actions[bot] 33e2cbc61f
Merge staging-next into staging 2024-09-20 12:05:56 +00:00
Cosima Neidahl eee25622ff
nixosTests.terminal-emulators: Fix lomiri-terminal-app test after mesa change (#341573) 2024-09-20 13:42:57 +02:00
Weijia Wang 98a31cdb8d
wordpress: 6.6.1 -> 6.6.2 (#343013) 2024-09-20 10:17:04 +02:00
Bryan Richter 588b1f8df6
nixos/github-runners: make enable functional
Fixes #305304
2024-09-20 09:09:17 +03:00
K900 d8a54461fc Merge remote-tracking branch 'origin/staging-next' into staging 2024-09-20 07:27:56 +03:00
Sandro 97ca40d3ca
turn-rs: init at 3.1.0 (#338928) 2024-09-19 22:53:28 +02:00
Weijia Wang d582ac052d nixos/wordpress: fix tests 2024-09-19 22:25:37 +02:00
Pim Kunis f1daa46d45 nixos/gatus: init module 2024-09-19 21:34:10 +02:00
K900 d2e6b8dac6 nixos/tests/wpa_supplicant: explicitly set channel
mac80211_hwsim can't emulate ACS, so explicitly choose a channel.
2024-09-19 20:47:18 +03:00
rnhmjoj 7efc956510
Revert "nixos/wireless: link config to /etc by default"
This reverts commit 89eb93dc3f.

It broken setups where /etc/wpa_supplicant.conf is configured
imperatively and reloading of the service on configuration changes.
2024-09-19 16:36:34 +02:00
wxt 1a742a9f80 nixos/turn-rs: init 2024-09-19 07:33:51 +08:00
github-actions[bot] 71d46fbcdf
Merge staging-next into staging 2024-09-18 18:04:48 +00:00
rnhmjoj 98c67f661d
nixos/wpa_supplicant: test a naughty passphrase
This ensures ASCII punctuation characters are not handled specially.
2024-09-18 16:06:17 +02:00
Robert Hensing 30620e7736 nixosTests.nix-serve: Use new entrypoint
This reuses the `pkgs`, so that `pkgs.nixosTests.nix-serve` will
run with the overlays of `pkgs` applied.
2024-09-18 13:42:35 +02:00
Michele Guerini Rocco e3191b8ded
nixos/dhcpcd: harden and run as unprivileged user (#336988) 2024-09-17 19:21:11 +02:00
Vladimír Čunát 75da841952
Merge branch 'master' into staging 2024-09-17 16:38:37 +02:00
Fabián Heredia Montiel 3029a1f91d
frr: 10.0.1 -> 10.1 (#342259) 2024-09-17 07:25:12 -06:00
github-actions[bot] 73cf025711
Merge staging-next into staging 2024-09-17 12:05:50 +00:00
kirillrdy 14392643b6
nixos/tests/freetube: fix ocr (#342383) 2024-09-17 17:36:55 +10:00
ghpzin 65feac8311
nixos/tests/tmate-ssh-server: fix test
- add `wait_until_tty_matches` to wait for tty login screen before
sending "root\n" to log in
- add `-4` to `ssh-keyscan` to force using IPv4, without it command
returns exit code 1 with no output
2024-09-17 09:36:18 +03:00
ghpzin adff49b178
nixos/tests/freetube: fix ocr
- change text that is waited for on preferences page, as previous one
stopped being recognized by OCR on xorg after freetube update to 0.21.0
- increase timeout from 30 sec to 60 sec as OCR is sometimes slow
2024-09-16 22:56:00 +03:00
github-actions[bot] 1c3463dc7a
Merge staging-next into staging 2024-09-16 12:06:19 +00:00
Aleksana f1580efb3b
maintainers/team-list: add cyberus team (#331059) 2024-09-16 18:14:16 +08:00
Markus Theil 83cdec2e16 nixos/tests/frr: fix ping command
Signed-off-by: Markus Theil <theil.markus@gmail.com>
2024-09-16 11:31:35 +02:00
Sandro fd3ddb6b60
dnscrypt-wrapper: remove package and NixOS modules (#341838) 2024-09-16 11:25:30 +02:00