Commit graph

7054 commits

Author SHA1 Message Date
Erik Skytthe c09a0a837a apacheKafka: 3.5.0, 3.4.1, 3.3.1 -> 3.3.2 2023-06-30 17:59:40 +02:00
Nick Cao f633ed072a
nixosTests.deepin: raise virtualisation.memorySize to 2048 2023-06-30 10:58:03 +08:00
Arthur Gautier 9338511350 nixosTest: provide a test for lib.extend in nixosTests & runNixOSTest 2023-06-29 09:14:58 -07:00
Doron Behar eef9190d2b nixosTests.syncthing-no-settings: init 2023-06-29 17:57:13 +03:00
lassulus c42a7b668c Revert "Merge pull request #233377 from ncfavier/revert-226088"
This reverts commit 7b28ea6783, reversing
changes made to 3009b12817.
2023-06-29 17:56:30 +03:00
Maximilian Bosch 089f26b5e2
Merge pull request #240397 from Ma27/linux-kernel-updates
Linux kernel updates 2023-06-28
2023-06-29 10:00:19 +02:00
Gaël Reyrol 1a821e7bf5
nixos/prometheus-exporters: add php-fpm 2023-06-28 22:11:36 +02:00
Maximilian Bosch 0b4e493e58
linux_6_3_hardened: expose package 2023-06-28 21:23:00 +02:00
Gaël Reyrol 3a4e234b07
services/calibre-server: Add new http & auth options (#216497)
nixos/doc: add calibre-server new options
2023-06-28 14:06:47 +02:00
Robert Hensing 772d6076e8 nixos: Add system.activatable flag for images that are pre-activated 2023-06-28 14:06:28 +02:00
Robert Hensing 89664199e1 nixos/tests/switch-test.nix: Fix warnings 2023-06-28 12:49:34 +02:00
Pol Dellaiera e1b3f7b159
Merge pull request #239803 from gaelreyrol/prometheus-scaphandre-exporter-init
services/prometheus/exporters: add scaphandre
2023-06-28 09:46:08 +02:00
Christian Kögler 934a291b5a
Merge pull request #240121 from NickCao/tmate-msgpack
tmate, tmate-ssh-server: update and use msgpack-c instead of msgpack
2023-06-28 08:39:52 +02:00
Lily Foster 73710c4a5b
Merge pull request #238848 from nikstur/qemu-vm-volatile-root
nixos/tests/qemu-vm-volatile-root: init
2023-06-27 16:00:41 -04:00
Gaël Reyrol e11f06a951
services/prometheus/exporters: add scaphandre 2023-06-27 20:50:58 +02:00
Nick Cao 6ecfdd3fa4
nixos/tmate-ssh-server: fix test by opening port on firewall 2023-06-27 21:21:25 +08:00
adisbladis d76f499f99
Merge pull request #239690 from adisbladis/lemmy-0_18_0
lemmy: 0.17.4 -> 0.18.0
2023-06-28 00:10:09 +12:00
Janik 946c3f8c51
Merge pull request #214063 from michaelshmitty/anuko-timetracker 2023-06-27 13:19:44 +02:00
Michael Smith 7532dbaa32 nixos/anuko-time-tracker: init 2023-06-27 12:30:33 +02:00
Nick Cao e3d52286b1
nixos/sing-box: add basic test 2023-06-27 13:58:02 +08:00
Matej Cotman 4b789ef027 lemmy: build sharp 2023-06-27 16:24:23 +12:00
Pol Dellaiera 5f85fe1e8a
php83: init at 8.3.0alpha2 (#239151)
* php83: init at 8.3.0alpha2

* phpExtensions.blackfire: disable for php 8.3

* phpExtensions.apcu: patch for 8.3 only
2023-06-26 20:51:23 +02:00
Gaël Reyrol c7bb191426
scaphandre: init at 0.5.0 (#238462)
* scaphandre: init at 0.5.0

* Update pkgs/servers/scaphandre/default.nix

---------

Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2023-06-26 19:41:28 +02:00
Felix Buehler 6672dde558 treewide: use optionalAttrs instead of 'else {}' 2023-06-25 11:01:34 -03:00
Naïm Favier b7098c1239
Merge pull request #239427 from ncfavier/syncthing-escaping
nixos/syncthing: fix escaping
2023-06-23 20:29:42 +02:00
Naïm Favier 9a9ded1675
nixos/syncthing: fix escaping 2023-06-23 20:19:51 +02:00
pennae 50a780ce5c
Merge pull request #237824 from drupol/add-guacamole-server-and-client
{guacamole-server,guacamole-client}: init at 1.5.2
2023-06-23 15:41:50 +02:00
Ryan Lahfa 230a3705fc
Merge pull request #234223 from alyssais/stage-1-bind-file 2023-06-22 21:47:30 +02:00
Guillaume Girol a3a23358fc
Merge pull request #237235 from alyssais/vmTools-deb
nixosTests.os-prober: fix
2023-06-22 19:14:11 +00:00
Sandro 996d7cabba
Merge pull request #225877 from jappeace/upgrade-keter-2.1
nixos/keter: 2.0 -> 2.1
2023-06-22 20:00:22 +02:00
Elis Hirwing da7b79c90e
Merge pull request #239049 from LeSuisse/php80-removal
php: drop PHP 8.0
2023-06-22 08:43:39 +02:00
Vladimír Čunát e603dc5f06
Merge #238997: nixosTests.sway: don't use ORC 2023-06-22 07:47:41 +02:00
Pol Dellaiera 6cc1b175d3
nixos/guacamole-server: init 2023-06-21 22:11:44 +02:00
Thomas Gerbet 84c0cb1471 php: drop PHP 8.0
Closes #224505
2023-06-21 22:09:16 +02:00
Pol Dellaiera a950888024
nixos/guacamole-client: init 2023-06-21 20:47:31 +02:00
Sandro 7e38f9e981
Merge pull request #236104 from Luflosi/apfs-test-module-based-runner
nixos/tests/apfs: clean up code
2023-06-21 19:19:36 +02:00
Patrick Hilhorst 5bd226bfd9
nixosTests.sway: don't timeout gpg-agent 2023-06-21 16:08:00 +02:00
Patrick Hilhorst ae4e5957d8
nixosTests.sway: don't use ORC 2023-06-21 14:58:10 +02:00
Domen Kožar b37c9b89a4
Merge pull request #221169 from bouk/bouk/mainpr
opentelemetry-collector: add NixOS module
2023-06-21 13:07:50 +01:00
Tyler Langlois 80dcb8f6bb nixos/opentelemetry-collector: add nixosTest
(cherry picked from commit a45a1a51e57eff974922b19d80b77ff0c23771f0)
Signed-off-by: Domen Kožar <domen@dev.si>
2023-06-21 13:07:16 +01:00
nikstur cc3a3c40a2 nixos/tests/qemu-vm-volatile-root: init 2023-06-21 01:38:27 +02:00
Jörg Thalheim bfc002e2f1
nix-ld: 1.2.1 -> 1.2.2 (#237962)
* nix-ld: 1.2.1 -> 1.2.2

Diff: https://github.com/mic92/nix-ld/compare/1.2.1...1.2.2

* Update pkgs/os-specific/linux/nix-ld/default.nix

Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>

---------

Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2023-06-20 20:23:27 +00:00
Alyssa Ross c2730b96dc public-inbox: add xapian to PATH
Some public-inbox programs run xapian-compact, so we need to make sure
it's in PATH.
2023-06-20 16:58:47 +00:00
Sandro 0b77630d18
Merge pull request #209068 from CRTified/adguard-dhcp 2023-06-20 13:37:34 +02:00
Alyssa Ross d48e365ff6
nixosTests.os-prober: add missing kbd extra dep 2023-06-20 10:20:37 +00:00
rnhmjoj 623d7d2124 nixos/tests/fakeroute: init 2023-06-20 01:12:04 +00:00
happysalada 97f556cac1 installer: remove unused with 2023-06-19 13:12:04 -04:00
happysalada 31342eea54 installer: remove reference to non existing doc option 2023-06-19 13:12:04 -04:00
Markus Kowalewski 42a6b41e33
nixos/snapper/test: fix, make compliant with new config scheme 2023-06-18 16:20:31 +02:00
Maximilian Bosch 30c0a2f738
Merge pull request #238250 from Ma27/nextcloud-declarative-test-fix
nixos/tests/nextcloud: fix more issues related to redis tests
2023-06-18 11:14:54 +02:00
Vladimír Čunát 6d80b598ef
Merge #237233: staging-next 2023-06-11 2023-06-17 18:53:26 +02:00
Ryan Lahfa 3d941b6be8
Merge pull request #236656 from nikstur/qemu-vm-persistent-block-device-names 2023-06-17 14:52:26 +02:00
Ryan Lahfa 7d9cd2a23e
Merge pull request #233035 from NixOS/kexec-test 2023-06-17 14:51:57 +02:00
Maximilian Bosch cac7282c17
nixos/tests/nextcloud: fix more issues related to redis tests
* Ensure that the redis cache is actually used in the "trivial" case
  (`with-postgresql-and-redis`)
* Test against all Nextcloud versions we've packaged
* Actually set a secret to make sure that the provided secret is
  properly read by Nextcloud.
* Add myself as maintainer to the secret-test to make sure that I don't
  miss any more changes like this that could break the functionality of
  that feature.
2023-06-17 14:04:44 +02:00
Vladimír Čunát 41d7e84dd8
Merge branch 'master' into staging-next
Trivial conflict:
 	nixos/doc/manual/release-notes/rl-2311.section.md
2023-06-17 07:46:50 +02:00
Maximilian Bosch 2f9c0ffde8
Merge pull request #237736 from Ma27/bump-nextcloud
nextcloud27: init
2023-06-16 19:51:28 +02:00
Raito Bezarius 627a8838fa nixosTests.kexec: do not use module argument config
It is deprecated now.
2023-06-16 19:43:40 +02:00
Raito Bezarius 7088e386ff nixosTests.kexec: reconnect properly after 2nd kexec
By some miracle, before, it was possible to reconnect to the `node1` without
doing any relevant dance.

But now we are direct booting (¿), it seems like we need to do the right things.

This introduces a `check_output` flag for `execute` because we do not want to steal the
messages from the backdoor service as we might execute the kexec too fast compared
to when we will reconnect.

Therefore, we will let the message in the pipe if needed.
2023-06-16 19:43:40 +02:00
Raito Bezarius 85c8cc7ce9 nixosTests.kexec: do not use bootloader
There's no reason to use a bootloader when testing kexec, this is a feature
that reboots *directly* in the kernel, if anything, we should just direct boot the
kernel and reboots in the kernel.

A bootloader test really makes sense to test "default" systemctl kexec behavior which is already broken
because systemctl kexec will read the ESP to determine what to kexec by default.
2023-06-16 19:43:40 +02:00
nikstur 0bdba6c99b nixos/qemu-vm: use persistent block device names
This change removes the bespoke logic around identifying block devices.
Instead of trying to find the right device by iterating over
`qemu.drives` and guessing the right partition number (e.g.
/dev/vda{1,2}), devices are now identified by persistent names provided
by udev in /dev/disk/by-*.

Before this change, the root device was formatted on demand in the
initrd. However, this makes it impossible to use filesystem identifiers
to identify devices. Now, the formatting step is performed before the VM
is started. Because some tests, however, rely on this behaviour, a
utility function to replace this behaviour in added in
/nixos/tests/common/auto-format-root-device.nix.

Devices that contain neither a partition table nor a filesystem are
identified by their hardware serial number which is injecetd via QEMU
(and is thus persistent and predictable). PCI paths are not a reliably
way to identify devices because their availability and numbering depends
on the QEMU machine type.

This change makes the module more robust against changes in QEMU and the
kernel (non-persistent device naming) and by decoupling abstractions
(i.e. rootDevice, bootPartition, and bootLoaderDevice) enables further
improvement down the line.
2023-06-16 19:36:03 +02:00
Nick Cao c72f24ec26
Merge pull request #237933 from pbek/feature/qownnotes-tests
qownnotes: add tests
2023-06-16 06:47:48 -06:00
Maximilian Bosch 3df3a89892
nixos/nextcloud: fix declarative cache configuration
It's supposed to be `memcache.distributed`, not an associative PHP array
named `memcache` with a key `distributed`.

This was probably never caught because the initial `grep -q` check in
the test was invalid: `redis-cli` prints nothing if no keys can be found
when not writing to a tty apparently.
2023-06-16 14:11:38 +02:00
Maximilian Bosch 5a2769d981
nextcloud27: init
Fixes #237560
2023-06-16 14:11:38 +02:00
Patrizio Bekerle fd800d851f
qownnotes: add tests 2023-06-16 08:20:32 +02:00
github-actions[bot] 839c033ffb
Merge master into staging-next 2023-06-16 00:02:18 +00:00
Jörg Thalheim 4f992e8da0
Merge pull request #237840 from lilyinstarlight/fix/systemd-initrd-vconsole-test
nixos/tests/systemd-initrd-vconsole: fix test and improve reliability
2023-06-15 19:41:08 +01:00
github-actions[bot] 036d56d643
Merge master into staging-next 2023-06-15 12:01:17 +00:00
Lily Foster 9fb9774d93
nixos/tests/systemd-initrd-vconsole: fix test and improve reliability 2023-06-15 06:48:05 -04:00
Carl Richard Theodor Schneider 59207cc930 nixos/adguardhome: Add allowDHCP option
This option conditionally adds the `CAP_NET_RAW` capability to the service,
which is mandatory for enabling the integrated DHCP server.
It also adds another test case to validate that the DHCP server successfully
provides IP addresses to clients.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-06-15 12:27:35 +02:00
Jörg Thalheim f3ae11b096 nixos/nix-ld: also test NIX_LD fallback 2023-06-15 09:47:25 +02:00
github-actions[bot] 0f19fc4c44
Merge master into staging-next 2023-06-14 18:01:25 +00:00
Jappie Klooster 3f2f5bea96 nixos/keter: 2.0 -> 2.1
keter 2.1 now can log to stderr instead of file rotation.
Which is faster and more reliable.
These changes support that.

Announcement:
https://discourse.haskell.org/t/keter-2-1-0-released/6134

fix test by disabling log rotation

run nixpkgs fmt

move comment right before L37

run nixpkgs format on test

Add overridable default configuration

depracate keterRoot and use root, same for package

split doc lines

use lib.getExe to get keter binary

put mkRenamedOptionModule on one line
2023-06-14 11:54:03 -04:00
Sandro 60d31a2a46
Merge pull request #207646 from Enzime/vsce/test-remote-ssh 2023-06-14 17:05:32 +02:00
0x4A6F 144ef637a6
nixosTests.coturn: wait_for_open_port 2023-06-13 23:21:37 +02:00
github-actions[bot] f29c608f98
Merge master into staging-next 2023-06-13 18:01:32 +00:00
Pol Dellaiera 6dfc82118f
Merge pull request #237039 from boozedog/matomo-4.14.2
matomo: 4.10.1 -> 4.14.2
2023-06-13 15:53:00 +02:00
github-actions[bot] 51c0c12cd4
Merge master into staging-next 2023-06-13 12:01:28 +00:00
boozedog d1aab88879 matomo: 4.10.1 -> 4.14.2 2023-06-13 07:36:07 -04:00
Sandro 9183a72d11
Merge pull request #232862 from misuzu/gotosocial-init 2023-06-13 11:36:46 +02:00
github-actions[bot] a69b4c6b89
Merge master into staging-next 2023-06-12 18:01:15 +00:00
zi3m5f f86645566d nixos/tests/systemd-nspawn-configfile: init
Test for presence of all specified options in the generated .nspawn
config file.
Additionally test for absence of misspelled and fixed option MachineID.
2023-06-12 12:08:39 +02:00
github-actions[bot] 112762351d
Merge master into staging-next 2023-06-12 00:02:19 +00:00
Martin Weinelt 3cd3713412
Merge pull request #237169 from mweinelt/evcc-0.118.0
evcc: 0.117.4 -> 0.118.0
2023-06-12 01:14:43 +02:00
Alyssa Ross ee0c8cd15c
nixosTests.os-prober: fix filesystem for Debian
Debian's e2fsprogs does not understand the metadata_csum_seed ext4
feature, which our e2fsprogs enables by default, so we have to disable
it.
2023-06-11 19:13:48 +00:00
Martin Weinelt fe2f291e17
Merge pull request #236757 from max-privatevoid/pam-kanidm
nixos/pam: support Kanidm
2023-06-11 20:22:00 +02:00
Max 7575e488de nixos/tests/kanidm: test posix user creation and login 2023-06-11 17:17:43 +02:00
Martin Weinelt 9c1e60ba7d
evcc: 0.117.4 -> 0.118.0
https://github.com/evcc-io/evcc/releases/tag/0.118.0

Use a more approriate charger state.
2023-06-11 12:41:53 +02:00
github-actions[bot] 9f2767ce37
Merge staging-next into staging 2023-06-10 18:01:41 +00:00
Robert Hensing 493b08c410
Merge pull request #237063 from roberth/fix-systemd-boot-test
nixos: Fix systemd-boot test
2023-06-10 19:10:05 +02:00
Robert Hensing 0c3f416096 nixosTests.nixos-rebuild-specialisations: Fix 2023-06-10 18:25:04 +02:00
Robert Hensing a54e7d299b nixosTests.systemd-boot.switch-test: Fix warnings 2023-06-10 17:51:44 +02:00
Robert Hensing 0d55eebcf5 nixosTests.systemd-boot.switch-test: Fix test
... by making the alternate configs available in machine's store.
2023-06-10 17:51:06 +02:00
github-actions[bot] ffc7e7d777
Merge staging-next into staging 2023-06-10 06:01:49 +00:00
Will Fancher 90d69b1634
Merge pull request #236388 from ElvishJerricco/sd-s1-networkd-stop-on-switch-root
systemd stage 1 networking: Stop systemd-networkd on switch-root
2023-06-10 00:35:56 -04:00
github-actions[bot] 622850f61f
Merge staging-next into staging 2023-06-09 18:01:50 +00:00
ajs124 bcb903cce8 nixos/tests/lvm2/thinpool: fix xfs creation on older kernels 2023-06-09 13:44:48 +02:00
ajs124 3bf06829ff nixos/tests/lvm2: also build for new LTS kernel 2023-06-09 13:44:32 +02:00
Michael Hoang 8bf8b8fd68 vscode: move rev and vscodeServer to derivation 2023-06-09 18:52:10 +10:00
Michael Hoang 011df7a76b vscode-remote-ssh: Run patchelf on included Node 2023-06-09 18:21:42 +10:00
Michael Hoang 3e9a51a78b nixos/tests: Make remote-ssh test work with flakes 2023-06-09 18:21:42 +10:00
Michael Hoang b2ff7ceff2 nixos/tests: Test that Remote SSH can patch Node 2023-06-09 18:21:41 +10:00
github-actions[bot] 52cf9e3e3b
Merge staging-next into staging 2023-06-08 18:02:03 +00:00
Ryan Lahfa a384c9b01d
Merge pull request #234030 from NixOS/cleanup-overlay-mounts
nixosTests: fix tests that relies on an empty rootfs using a bootloader
2023-06-08 18:20:23 +02:00
Raito Bezarius 89952f7bb6 nixosTests.luks: mount the host Nix store
Same rationale as in caf6f41e2e.
2023-06-08 16:56:07 +02:00
Raito Bezarius ff3936e14b nixos/tests/lvm2/systemd-stage-1: mount the host Nix store
Same rationale as in caf6f41e2e.
2023-06-08 16:56:04 +02:00
Raito Bezarius 59891e405d nixosTests.systemd-initrd-networkd-ssh: bootDevice -> rootDevice
Missed deprecation fixup during the bootDisk PR.
2023-06-08 16:56:01 +02:00
Raito Bezarius c1f0de6e20 nixosTests.systemd-initrd-luks-keyfile: mount the host Nix store
Same rationale as caf6f41e2e.
2023-06-08 16:55:58 +02:00
Raito Bezarius bbfedea0a1 nixosTests.systemd-initrd-luks-password: mount the host Nix store
Same rationale as caf6f41e2e.
2023-06-08 16:55:55 +02:00
Raito Bezarius efe64826c9 nixosTests.systemd-initrd-luks-tpm2: mount the host Nix store
Same rationale as caf6f41e2e.
2023-06-08 16:55:52 +02:00
Raito Bezarius e190364fd7 nixosTests.systemd-initrd-networkd-ssh: mount the host Nix store
Same rationale as caf6f41e2e.
2023-06-08 16:55:49 +02:00
Raito Bezarius db811f12eb nixosTests.systemd-initrd-swraid: mount the host Nix store
Same rationale as caf6f41e2e.
2023-06-08 16:55:45 +02:00
Raito Bezarius de7f3cb2fa nixosTests.systemd-initrd-luks-fido2: mount the host Nix store
Same rationale as caf6f41e2e.
2023-06-08 16:55:29 +02:00
Raito Bezarius 955a77e1c4 nixosTests.systemd-initrd-btrfs-raid: mount the host Nix store
Same rationale as caf6f41e2e.
2023-06-08 16:55:25 +02:00
Raito Bezarius caf6f41e2e nixosTests.initrd-luks-empty-passphrase: mount the host nix store
This is necessary because this test relies on switching the root fs to an empty one which
does not have a Nix store available in stage 1, therefore, we have to make this test
host-store only.

A better fix in the long term is to evaluate whether this is worth to enable a proper
Nix store image for it with EROFS?
2023-06-08 16:55:04 +02:00
Martin Weinelt 93d26ea597
Merge pull request #236534 from NixOS/home-assistant
home-assistant: 2023.5.4 -> 2023.6.0
2023-06-08 14:47:11 +02:00
github-actions[bot] 2259be2076
Merge staging-next into staging 2023-06-08 12:02:05 +00:00
Weijia Wang 0dfe118d22
Merge pull request #236259 from wegank/mongodb-drop
mongodb-4_2: drop
2023-06-08 14:40:30 +03:00
Will Fancher a9e34ff905 systemd stage 1 networking: Add network-pre to flush tests
This isn't actually wanted by any units by default.
2023-06-08 00:25:15 -04:00
Martin Weinelt 4540dad9e7
nixos/tests/home-assistant: Drop esphome, fix post-restart expectation
Mentioning esphome in the config is now causing an error. Check for the
backup module post-restart, not esphome.
2023-06-07 23:55:51 +02:00
github-actions[bot] 71a0dc0490
Merge staging-next into staging 2023-06-06 18:01:51 +00:00
aszlig c14dac6f25
Merge pull request #235972 (fix Taskserver test)
I'm merging this without review, since the tests run by ofborg are
succeeding. In addition to that, it's fixing a currently broken test so
the worst that could happen is that the test still does not work.
2023-06-06 17:55:22 +02:00
Weijia Wang 3f467ff45f mongodb-4_2: drop 2023-06-06 14:26:11 +03:00
Luflosi 7573c269a8
nixos/tests/apfs: clean up code
- Use `runTest` instead of `handleTest`, which simplifies the code a little
- Use `lib.maintainers` instead of `pkgs.lib.maintainers`
- Remove unused function argument `pkgs`
- Change test name in the kernel module from `test` to `apfs`, since that seems to be a common pattern for the name
2023-06-05 16:39:09 +02:00
github-actions[bot] dd60d8ee46
Merge staging-next into staging 2023-06-05 12:01:45 +00:00
github-actions[bot] de4f02a6c8
Merge master into staging-next 2023-06-05 12:01:12 +00:00
Florian Klink 4627ee741d
Merge pull request #234877 from ElvishJerricco/auto-format-and-resize-with-systemd
Auto format and resize with systemd
2023-06-05 12:25:02 +03:00
misuzu 45ffb33514 nixos/gotosocial: init
Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
2023-06-05 09:07:34 +03:00
Will Fancher 5176a4f113 nixos: Use systemd-makefs for autoFormat 2023-06-04 22:57:20 -04:00
github-actions[bot] b2f58f98dd
Merge staging-next into staging 2023-06-05 00:03:13 +00:00
github-actions[bot] 4a640f8bb6
Merge master into staging-next 2023-06-05 00:02:32 +00:00
Sandro 793dd34507
Merge pull request #219602 from 999eagle/traefik-envsubst
nixos/traefik: add environmentFiles option
2023-06-05 00:36:43 +02:00
aszlig 9b6f9e4624
nixos/tests/taskserver: Fix build
The test fails because the way the configuration switch was implemented
back then was by using a dummy configuration and simply activating that
dummy configuration from within the test script.

Nowadays, this doesn't work anymore and fails to typecheck because the
dummy "newServer" will inherit the same value for networking.hostName,
which in turn will generate two attributes for "server":

  > testScriptWithTypes:43: error: Name "server" already defined on line 43
  > [no-redef]
  >     client1: Machine; client2: Machine; server: Machine; server: Machine;

Fortunately, we don't need to do workarounds like this anymore and there
is the "specialisation" option, which allows to do this in a less ugly
way (and it also works with mypy).

Signed-off-by: aszlig <aszlig@nix.build>
2023-06-04 23:14:07 +02:00
github-actions[bot] e97d10016c
Merge staging-next into staging 2023-06-04 18:01:37 +00:00
github-actions[bot] 22e7031b28
Merge master into staging-next 2023-06-04 18:00:59 +00:00
Julien Moutinho 50301d73e9 public-inbox: 1.8.0 -> 1.9.0
Co-authored-by: Alyssa Ross <hi@alyssa.is>
2023-06-04 13:09:28 +00:00
Arian van Putten a96fef1ca6
Merge pull request #229610 from flokli/systemd-253.4
systemd: 253.3 -> 253.5
2023-06-03 16:15:44 +02:00
Florian Klink 17fa0e2fbf systemd: 253.3 -> 253.5
This allows us to drop our fsck-look-for-fsck-binary-not-just-in-
sbin.patch, as it was upstreamed.

We also manually backport https://github.com/systemd/systemd/pull/27856 as
it didn't get backported and without it we can't merge this PR as
systemd-boot-builder.py will remain broken and make it impossible to do upgrade
to NixOS 23.05 in some scenarios

Changelog:

```
991158e8b9 (hwdb: update to 2533fdd0fbe71e4a3fa7a2cca9830cd864fb9136, 2023-06-01)
d1087bc599 (test-network: add tests for vlan QoS mapping, 2023-05-24)
7ed7b07a92 (network/vlan: paranoia about type safety, 2023-05-24)
b20bc7c1ff (network/vlan: drop unnecessary restriction for QoS mapping, 2023-05-24)
dbf50f1911 (udev: do not set ID_PATH and by-path symlink for nvmf disks, 2023-05-10)
75d4967502 (journalctl: fix --no-tail handling, 2023-05-04)
f1ea9cd55e (journalctl: use correct variable to check if --since is specified, 2023-05-04)
0227947bab (test/README: fix advice for testsuite debugging, 2023-05-29)
3222272c46 (test-fstab-generator: fix test on systemd with systemd-boot, 2023-05-30)
23b7bf3d01 (home: move the assert back to the intended place, 2023-05-29)
901f0f0ac1 (resolvectl: drop extra colon, 2023-05-28)
5f3ca32d0c (basic/syscall: update syscall list, 2023-05-29)
375e6be16c (tree-wide: Downgrade a few more noisy log messages to trace, 2023-05-27)
3f5f7e5f30 (journal-remote: bump the refcount right after creating the writer object, 2023-05-25)
4810e789ad (man: fix UKI filename suffix in 'tries' description, 2023-05-26)
2e10f8874a (units: Shut down networkd and resolved on switch-root, 2023-05-25)
9dde31ac74 (resolve: avoid memory leak from a partially processed RR, 2023-05-23)
b1663b8333 (sd-journal: avoid double-free, 2023-05-23)
aa48ecb0a6 (core/timer: Always use inactive_exit_timestamp if it is set, 2023-05-23)
ac380e43a4 (core: Do not check child freezability when thawing slice, 2023-05-23)
53bc78d3e0 (tree-wide: Fix false positives on newer gcc, 2023-05-23)
58c1816aa4 (json: correctly handle magic strings when parsing variant strv, 2023-05-23)
fbb2c5ab19 (sysusers: fix argument confusion in error message, 2022-10-13)
e5520ab28f (sysusers: add usual "ret_" prefix, fix messages, 2022-10-13)
286ce2be44 (man: extend description of --boot, 2022-10-09)
7394a75688 (sd-bus: refuse to send messages with an invalid string, 2023-05-19)
ae83e97a51 (core/service: when resetting PID also reset known flag, 2023-05-22)
f0bb967388 (shared: correctly propagate possible allocation errors, 2023-05-21)
318c9d5fec (wait-online: downgrade log level of failure that interface is removed or unmanaged during processing it, 2023-05-22)
1a0f2c5c57 (boot: Read files in small chunks on broken firmware, 2023-01-05)
eeaf884f5b (cryptenroll: update log messages, 2023-05-20)
debce7c184 (test: check if we can use --merge with --follow, 2023-05-19)
3cf401e3e3 (manager: restrict Dump*() to privileged callers or ratelimit, 2023-04-27)
6ca461fe29 (ratelimit: add ratelimit_left helper, 2023-04-28)
604d132fde (journalctl: make --follow work with --merge again, 2023-05-19)
6a4c05c615 (test: make the stress test slightly less stressful on slower machines, 2023-05-19)
a08cb80451 (core/device: downgrade error when units specified in SYSTEMD_WANTS= not found, 2023-05-19)
eb5dad0a72 (unit: add conditions and deps to make oomd.socket and .service consistent, 2023-05-19)
c756ffea57 (oomd: shorten message, 2023-05-18)
a3e5eb5606 (sd-bus,sd-event: allow querying of description even after fork, 2023-05-18)
e91557a1e0 (sd-bus: do not assert if bus description is not set, 2023-05-18)
93b3bd12ac (test: don't mount /sys & /proc if already mounted, 2023-05-18)
c51273941d (nspawn: make the error message less confusing, 2023-05-18)
e85daabd3e (Revert (partially) "man: Clarify when OnFailure= activates after restarts (#7646)", 2023-05-17)
3e286a7b2e (man/tmpfiles: fix off-by-one in example, 2023-05-17)
cb6641bde3 (man: explain allowed values for /sys/power/{disk,state}, 2023-05-17)
65bf6c5a8f (man: say that ProtectClock= also affects reads, 2023-05-17)
13c8807360 (man: fixes for assorted issues reported by the manpage-l10n project, 2023-05-17)
1809fff392 (nspawn: make sure the device type survives when setting device mode, 2023-05-16)
b8ed81660f (nspawn: fix a global-buffer-overflow, 2023-05-15)
756e77b936 (nspawn: fix inverted condition, 2023-05-15)
c7861222ba (nspawn: call json_dispatch() with a correct pointer, 2023-05-15)
6f577f5d92 (nspawn: use the just returned errno in the log message, 2023-05-15)
9a7c6ed568 (nspawn: avoid NULL pointer dereference, 2023-05-16)
17c7b07c67 (nspawn: file system namespace -> mount namespace, 2023-05-15)
b13e836315 (nspawn: fix a typo in an error message, 2023-05-15)
d88225ef44 (busctl: set a description for the bus connection, 2023-05-05)
29115ef32e (man: indicate that the JOB parameter to "systemctl cancel" is optional, 2023-05-16)
051f86ae0e (meson: fix description for link-udev-shared option, 2023-05-16)
85ba46539f (man: use correct name for --bank option, 2023-05-15)
d7e75c7315 (machine,portable: fix a typo in an info message, 2023-05-12)
4d29f741c8 (machine: fix a memory leak when showing multiple machines, 2023-05-12)
e6a719598c (machine: fix a memory leak when showing multiple images, 2023-05-12)
ea221dc685 (fstab-generator: Fix log message, 2023-05-10)
4c3b06f255 (test: test O_CLOEXEC filtering of fdset fill logic, 2023-05-30)
88bf6b5815 (pid1: when taking possession of passed fds check O_CLOEXEC state first, 2023-05-30)
0d8372b450 (repart: Create temporary root directory using var_tmp_dir(), 2023-02-14)
aedfe41cda (cryptenroll: actually allow using multiple "special" strings when wiping, 2023-05-10)
f59ce1aa7b (core: fix use of uninitialized value, 2023-05-04)
3f5db0dbc1 (sd-journal: check .next_entry_array_offset earlier, 2023-05-03)
0baac8e60e (tree-wide: drop _pure_ attribute from non-pure functions, 2023-05-10)
4984f70db5 (dirent: conditionalize dirent assert based on dirent64 existence, 2023-05-10)
5fcbda8b5e (network/tc: rename settings in log messages too, 2023-05-10)
59dccdfddb (sd-bus: bus_message_type_from_string is not pure, 2023-05-10)
133d4ff6d6 (cryptenroll: fix an assertion with weak passwords, 2023-05-09)
c937b8f9de (units: Add CAP_NET_ADMIN condition to systemd-networkd-wait-online@.service as well, 2023-05-07)
60af5019fb (units: add/fix Documentation= about bus interface, 2023-05-09)
53f7e5f18f (core/service: fix error cause in the log, 2023-05-09)
951c27ce14 (shell completion: add timesync-status and show-timesync to zsh completion file (#27574), 2023-05-08)
32831842ba (doc: remove legacy DefaultControlGroup from dbus properties, 2023-05-08)
c31e2fa9c7 (zsh: add service-log-{level,target} completions for systemctl, 2023-05-07)
011a686a23 (test_ukify: fix loop iteration, 2023-04-21)
927d234406 (hwdb: do not include '#' in modalias, 2023-05-06)
b1a7a15ed2 (core: check the unit type more thoroughly when deserializing, 2023-05-04)
154b108513 (shared: refuse fd == INT_MAX, 2023-05-04)
a25605d01d (zsh: remove usage of PREFIX in _systemctl, 2023-05-05)
4be604e75a (basic/audit-util: make a test request before enabling use of audit, 2023-05-02)
4b4285e231 (main: add missing return, 2023-05-05)
ce096b0212 (shared: reject empty attachment path, 2023-05-02)
6027fbf1af (shared: ignore invalid valink socket fd when deserializing, 2023-05-02)
d649128268 (core: fix NULL pointer dereference during deserialization, 2023-05-02)
6ae77d6b99 (boot: Use correct memory type for allocations, 2023-05-02)
de0cbaceb7 (core: check for SERVICE_RELOAD_NOTIFY in manager_dbus_is_running, 2023-05-02)
5ed087fa46 (generators: skip private tmpfs if /tmp does not exist, 2023-04-30)
93143b6d6a (test: replace sleep with timeout, 2023-05-02)
881382685e (test-network: add workaround for bug in iproute2 v6.2.0, 2023-05-02)
abf9e916ad (coredumpctl: add --file/--root/--image to bash completion, 2023-04-25)
dd349a0ede (coredumpctl: fix bash completion matching, 2023-04-25)
120342b62d (test: match all messages with the FILE field, 2023-04-29)
e0da5c9bc6 (test: add tests for "systemctl stop" vs triggering by path unit, 2023-04-29)
c1542a967b (test: create temporary units under /run, 2023-04-29)
03f2a8921e (core/path: do not enqueue new job in .trigger_notify callback, 2023-04-29)
674591e6af (core/path: align table, 2023-04-29)
0413fb7de9 (test: add a couple of tests for systemd-pstore, 2023-04-27)
de41e55c7d (pstore: avoid opening the dmesg.txt file if not requested, 2023-04-28)
37c212dbd7 (pstore: explicitly set the base when converting record ID, 2023-04-28)
daee48adbb (test: dont use anchor char '$' to match a part of a string, 2023-04-27)
53ac14a054 (core/transaction: use hashmap_remove_value() to make not remove job with same ID, 2023-04-26)
0258760397 (resolved: adjust message about credentials, 2023-04-25)
8f19911bc3 (fuzz-journal-remote: fix potential fd-leak, 2023-03-18)
df1e479d4e (fuzz-journal-remote: remove temporary files on exit, 2023-03-18)
0d745e2de3 (hwdb: update to 46b8c3f5b297ac034f2d024c1f3d84ad2c17f410, 2023-04-30)
df9d1d9bb2 (sd-journal: make journal_file_copy_entry() return earlier, 2023-04-26)
3bc2553cfc (sd-journal: copy boot ID, 2023-04-26)
45b045880c (sd-journal: tighten variable scope, 2023-04-26)
3821e3ea07 (journal: Don't try to write garbage if journal entry is corrupted, 2023-04-26)
4eedc4711a (test: add test case of negative match for SYMLINK and TAG, 2023-04-25)
cd795f9abc (udev-rules: fix negative match rule for SYMLINK and TAG, 2023-04-25)
a25e2ef992 (core: fix property getter method for NFileDescriptorStore bus property, 2023-04-12)
eec30e3143 (repart: always take BSD lock when whole block device is opened, 2023-04-13)
50ab96e442 (bootctl: clean up handling of files with no version information, 2023-03-30)
9d97c8d423 (mkosi: disable centos 8 build, 2023-04-26)
c603dae241 (mkosi: disable key check for Fedora builds, 2023-04-26)
724a50fb01 (mkfs-util: do not pass -quiet to mksquashfs, 2023-04-27)
43d194392f (test: use setpriv instead of su for user switch from root, 2023-03-14)
ba683eb48c (test: wrap mkfs.*/mksquashfs/mkswap binaries when running w/ ASan, 2023-03-16)
fdcd1807ff (test: bump the D-Bus related timeouts to 120s, 2023-03-09)
4f8b2abf69 (coredump filter: add mask for 'all' using UINT32_MAX, not UINT64_MAX, 2023-04-26)
021bb972ff (coredump filter: fix stack overflow with =all, 2023-04-26)
3fd444c048 (build(deps): bump github/super-linter from 4.9.7 to 4.10.1, 2023-04-01)
a19396c73b (cryptenroll: fix a memory leak, 2023-03-27)
083ede1482 (test: tell dfuzzer to skip Reexecute(), 2023-04-26)
ae12c1380b (portablectl: add --extension to bash completion, 2023-04-25)
b1ecfe3fe7 (man: /usr/lib/systemd/random-seed -> /usr/lib/systemd/systemd-random-seed, 2023-04-25)
8895ccaaa8 (cryptsetup-fido2: Depend on libcryptsetup, 2023-04-24)
c6e957d02d (test: use idiomatic bash loop iteration, 2023-04-07)
26e181e94e (testsuite-54: drop unnecessary pipe, 2023-04-05)
d2c738341b (testsuite-70: drop unnecessary env, 2023-04-05)
f3abd451dd (test: drop uses of "&& { echo 'unexpected success'; exit 1; }", 2023-04-05)
59243061f6 (man: fix LogControl1 manpage example, 2023-04-24)
04983c2b00 (pam: cache sd-bus separately per module, 2023-04-16)
0045d952b5 (pam_systemd_home: clean up sd-bus when called about something else's user, 2023-04-20)
c50ec75e1e (testsuite-04: remove unnecessary conditional, 2023-04-04)
5a8987794e (man: clarify sd_bus_default, 2023-04-22)
b9af9a320e (man: add working example to LogControl1 manpage, 2023-04-21)
4d2b5338ac (detect-virt: add message at debug level, 2023-04-20)
749a6d9959 (dissect: let's check for crypto_LUKS before fstype allowlist check, 2023-04-20)
1aa6171081 (ratelimit: handle counter overflows somewhat sanely, 2023-04-20)
5ff63b8507 (man: try to make clearer that /var/ is generally not available in /usr/lib/systemd/system-shutdown/ callouts, 2023-04-20)
2be23f69ee (dissect-image: issue BLKFLSBUF before probing an fs at block device offset != 0, 2023-04-20)
7b437659b1 (list: fix double evaluation, 2023-04-20)
ffbb75aa46 (mountpoint-util: check /proc is mounted on failure, 2023-04-17)
14eb49b5eb (test: prefix the transient unit with test- to make coverage runs happy, 2023-04-18)
980954d2cf (kmod-setup: bypass heavy virtio-rng check if we are not running in a VM anyway, 2023-04-18)
567a1a6fd8 (kmod-setup: use STARTSWITH_SET() where appropriate, 2023-04-18)
d37f06f96f (creds: make available to all ExecStartPre= and ExecStart= processes, 2023-04-15)
d15f907b5b (user-util:remove duplicate includes, 2023-04-17)
cedea4cb7e (virt: Further improve detection of EC2 metal instances, 2023-04-13)
826662680b (string-util: add strstrafter(), 2023-04-14)
ac721c88af (test: add a couple of tests with invalid UTF-8 characters, 2023-04-15)
9c8d8719e4 (test: add a simple test for getenv_path_list(), 2023-04-15)
a9c73150ac (test: add a couple of basic sanity tests for the security verb, 2023-04-15)
06a70861bc (test: add a couple of basic sanity tests for timedatectl, 2023-04-15)
def6c37a19 (shared: add a missing include, 2023-04-15)
79e23f618f (test: add tests for uuid/uint64 specifiers, 2023-04-15)
3ee1839c19 (fsck: look for fsck binary not just in /sbin, 2023-04-13)
eab75a8591 (test: stop the test unit when it's not needed anymore, 2023-04-14)
f86ec34958 (Synposis and description of networkctl man page reflecting only part of its functionality  (#27264), 2023-04-13)
fffcebc4bb (core/main: fix a typo for --log-target, 2023-04-13)
f152cdabae (test: add some tests for RuntimeMaxSec, 2023-04-13)
999f48558b (scope: do not disable timer event source when state is SCOPE_RUNNING, 2023-04-04)
430861fc96 (Fix cross-reference of manual for LogsDirectory, 2023-04-12)
91953109ec (pid1: fix coredump_filter setting, 2023-04-12)
fa8d33bb37 (Uphold/StopWhenUnneeded/BindsTo: requeue when job finishes, 2023-04-12)
6fc08d8407 (Uphold/StopWhenUnneeded/BindsTo: add retry timer on rate limit, 2023-04-12)
1fb4ae32b0 (man: add util-linux to the package list for Fedora container, 2023-04-12)
841146f243 (man: link to Fedora 37, 2023-04-12)
465edc1230 (systemctl: suppress error for try-* if unit is masked, 2023-04-04)
7102925d1a (ci: drop checkout from release workflow, 2023-04-11)
167c01688f (ci: don't run release wf on `systemd-security`, 2023-04-11)
bda5c892a8 (shell-completion: add --xml-interface option of busctl to the rules, 2023-04-11)
6265430ca9 (busctl: add --xml-interface to the help message, 2023-04-11)
d26fd71d1a (test: update description, 2023-04-11)
35a6460a2f (test: systemd-analyze blame should succeed now, 2023-04-10)
ef10974c66 (analyze: make blame command work even the default target not reached, 2023-04-10)
dc2facf61d (ci: add permissions to make a release, 2023-04-03)
4c65c644d6 (test/test-functions: fix typo in install_suse_systemd(), 2023-04-04)
fca5a45a59 (test: install symlinks with valid targets on SUSE and Debian, 2023-03-24)
d18037b8ff (localed: fix invalid free after shifting pointers using strstrip, 2023-04-07)
93ac024b7e (test: bump the timeout for non-qemu runs to 90s, 2023-04-07)
283b7b4159 (test: enable the systemd-resolved unit in TEST-75, 2023-04-07)
6179141124 (man/systemd-mount: Clearify documentation about --bind-device, 2023-04-05)
b2e1dabbeb (resolve: change DNS_PACKET_UNICAST_SIZE_LARGE_MAX to 1232 (#27171), 2023-04-07)
16dc17d68c (man: netdev: Clarify wireguard IPv6 endpoint format, 2023-04-07)
0558c490a6 (test: use kbd-mode-map we ship in TEST-73-LOCALE, 2023-04-05)
64ef6ccd4f (ci: do one build with no tpm/p11kit/fido2, 2023-04-04)
018461aaf0 (man: mention -o option for systemd-journal-remote, 2023-04-05)
31c7f6d0d1 (manager: remove transient unit directory during startup, 2023-04-04)
49c6965946 (core: a more informative error when SetProperties/StartTransientUnit fails, 2023-04-02)
649e335bc1 (journald: fix log message, 2023-04-04)
eda7bf237f (Added unit test for strv_env_name_is_valid() function listed in env-util.c (#27100), 2023-04-02)
0430078cfb (man: restore description of ConditionControlGroupController=v1|v2, 2023-03-31)
0d9c2c270b (test: set ReadWritePaths= for test-.services when built w/ coverage, 2023-03-31)
384fec2622 (core: skip deps on oomd if v2 or memory unavailable, 2023-03-31)
2950b4ebf6 (test: fixed negative checks in TEST-70-TPM2. Use in-line error handling rather than redirections. Follow up on #27020, 2023-03-30)
786649c904 (test: make make_addresses() actually return the addresses, 2023-03-30)
5e3ac73017 (coverage: add a wrapper for execveat(), 2023-03-30)
8b1cc644c5 (man: add example for sd_bus_call_method, 2023-03-30)
382e53977c (man: further shorten print-unit-path example, 2023-03-29)
960f05945c (man: link up new online coredump docs from man page, 2023-03-30)
edfca36727 (tree-wide: reset optind to 0 when GNU extensions in optstring are used, 2023-03-21)
91ff21962d (test-kernel-install: several cleanups, 2023-03-28)
9943f2af3d (units: let's establish the coredump socket before writting core_pattern sysctl, 2023-03-29)
dbb1b9c2c8 (test: do not remove state directory on failure, 2023-03-29)
29cfb05183 (test: fix shellcheck warnings in test-sysusers.sh, 2023-03-29)
18afac6e90 (man: fix shellcheck warning for html.in, 2023-03-29)
4629419038 (added more test cases, 2023-03-27)
05ae9e276c (test: fix regexp in testsuite-74.mount.sh, 2023-03-28)
295012f7fa (test: drop extraneous bracket in testsuite-74.mount.sh, 2023-03-28)
ff7040b193 (busctl: also assume --full if not writing to terminal, 2023-03-28)
00977a8e74 (busctl: use size_t for set size, 2023-03-28)
802fded9a5 (busctl: do not truncate property values when --full, 2023-03-28)
e400a62a92 (oomd: add inline comments with param names, 2023-03-21)
4067ec52f4 (test: add more testcases for rm_rf(), 2023-03-19)
201830df21 (rm-rf: also chmod() directory if it cannot be opened, 2023-03-19)
d91f7eb0fb (rm-rf: mask file mode with 07777 when passed to chmod(), 2023-03-19)
80417f90b0 (rm-rf: fix errno handling, 2023-03-18)
```

Co-authored-by: Arian van Putten <arian.vanputten@gmail.com>
2023-06-03 15:54:16 +02:00
github-actions[bot] 6a837d8fb1
Merge master into staging-next 2023-06-03 06:01:11 +00:00
Gabriel Fontes 4ff3a5795b nixos/tests/prometheus-exporters: add graphite 2023-06-03 03:13:09 +00:00
github-actions[bot] 4b2e2c8b39
Merge master into staging-next 2023-06-03 00:02:20 +00:00
Pol Dellaiera 161182c362
Merge pull request #234987 from mmusnjak/apache-datasketches
apache_datasketches: init at 1.6.0
2023-06-02 21:55:22 +02:00
happysalada ee1c6053fb nixos/ntfy-sh: use dynamic user and add defaults 2023-06-02 15:22:14 -04:00
Marko Mušnjak aafe0f4314
apache_datasketches: init at 1.6.0
PostgreSQL extension providing approximate algorithms for
distinct item counts, quantile estimation and frequent items detection.
2023-06-02 21:03:19 +02:00
github-actions[bot] 6084eca7dc
Merge master into staging-next 2023-06-02 18:01:04 +00:00
Bobby Rong 7f96a08418
Merge pull request #235511 from bobby285271/upd/cinnamon-bpo
Cinnamon updates 2023-06-02
2023-06-02 21:25:34 +08:00
Mario Rodas 99287fe19b
Merge pull request #235450 from Luflosi/update/aaaaxy
aaaaxy: 1.3.538 -> 1.4.2
2023-06-02 07:42:12 -05:00
Bobby Rong 9f5dc9f927
nixos/tests/cinnamon: silence a warning and remove unused args
Module argument `nodes.machine.config` is deprecated. Use `nodes.machine` instead.
2023-06-02 19:51:12 +08:00
github-actions[bot] 1625d790e1
Merge staging-next into staging 2023-06-02 06:01:45 +00:00
Dennis Gosnell dcf201d275
nixosTests.virtualbox: remove cdepillabout as maintainer 2023-06-02 07:44:51 +09:00
Luflosi 35af643640
aaaaxy: 1.3.538 -> 1.4.2
https://github.com/divVerent/aaaaxy/releases/tag/v1.4.2
2023-06-01 20:14:33 +02:00
github-actions[bot] 8985306cfd
Merge staging-next into staging 2023-06-01 18:01:45 +00:00
Martin Weinelt 849fe26ac4
Merge pull request #229309 from bjornfor/update-kanidm
kanidm: 1.1.0-alpha.11 -> 1.1.0-alpha.12
2023-06-01 16:47:44 +02:00
Bjørn Forsman ed99bd0fb9
kanidm: 1.1.0-alpha.11 -> 1.1.0-alpha.12
* Update Cargo.lock from upstream.
* Adapt expression to upstream source tree layout changes.
* Apply patch to restore x86_64 v1 support

Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>

Also updates the NixOS test:

* Stop kanidm to recover the idm_admin account
* Group all tests into subtest blocks
* Add TODO to wait for unix socket on unixd for the next release

Co-Authored-By: Raito Bezarius <masterancpp@gmail.com>
Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>
2023-06-01 15:28:11 +02:00
github-actions[bot] e8e956566c
Merge staging-next into staging 2023-06-01 12:02:11 +00:00
Pol Dellaiera 3090855141
Merge pull request #232360 from drupol/nixos/refactor-code-server
nixos/code-server: add tests and more command line options
2023-06-01 13:56:01 +02:00
github-actions[bot] 52e40d8261
Merge staging-next into staging 2023-06-01 00:03:14 +00:00
Yureka 82d9c2e91f nixosTests.gitlab: fix project ids 2023-05-31 22:14:25 +02:00
github-actions[bot] e436cc21a6
Merge staging-next into staging 2023-05-31 18:01:35 +00:00
Kira Bruneau 7e820610e3
Merge pull request #234207 from emilylange/acme-dns
acme-dns: init at 1.0; nixos/acme-dns: init; nixos/acme-dns: init
2023-05-31 11:40:35 -04:00
emilylange fa21828be5
nixosTests.acme-dns: init 2023-05-31 15:08:39 +02:00
Arian van Putten 5a13c00640
Merge pull request #235082 from ElvishJerricco/systemd-uefi-bug-chunked-reads
systemd-boot: Patch for firmwares that fail to load large files
2023-05-31 13:49:57 +02:00
ajs124 957db96d53
Merge pull request #233850 from helsinki-systems/upd/apparmor
apparmor: 3.1.3 -> 3.1.4
2023-05-31 12:12:30 +02:00
Will Fancher 6727bab05e systemd-boot: Patch for firmwares that fail to load large files 2023-05-30 19:21:16 -04:00
github-actions[bot] 698b4f4f63
Merge master into staging-next 2023-05-29 18:01:07 +00:00
Julien Malka 9631553153 Revert "nixos/ntfy-sh: add defaults, use dynamic user"
This reverts commit 3dcca62a5e.
2023-05-29 11:11:32 -04:00
Florian Klink 8b8a64d737
Merge pull request #234442 from rnhmjoj/pr-fix-ifnames
network-interfaces-scripted: fix interface cleanup
2023-05-29 15:14:12 +02:00
Vladimír Čunát 2f9191eb88
Merge branch 'master' into staging-next 2023-05-29 08:14:18 +02:00
happysalada 3dcca62a5e nixos/ntfy-sh: add defaults, use dynamic user 2023-05-28 21:17:14 -04:00
Martin Weinelt 6b554aae1c
Merge pull request #234186 from hmenke/shadowsocks
nixos/shadowsocks: wait for nginx to prevent race condition
2023-05-29 01:37:36 +02:00
Weijia Wang b8ce4c46f5
Merge pull request #234645 from Izorkin/update-http3-libs
Update http3 libraries
2023-05-29 00:50:38 +03:00
Izorkin f28c987507
nixos/tests: update nginx-http3 test 2023-05-28 19:55:00 +03:00
Alyssa Ross ad31856bd9
nixosTests.public-inbox: extend sleep
5 seconds isn't reliably enough here on my system.
2023-05-28 16:40:13 +00:00
Thomas Gerbet 85f15277d0 etcd: switch to etcd_3_5 2023-05-28 08:04:43 +10:00
rnhmjoj ea0b4a694a
nixos/test/networking: test unusual interface names 2023-05-27 19:19:37 +02:00
Victor Freire fca068a558 nixos/tests/legit: init 2023-05-27 16:20:05 +00:00
Raito Bezarius 69bb0f94de nixos/nginx: first-class PROXY protocol support
PROXY protocol is a convenient way to carry information about the
originating address/port of a TCP connection across multiple layers of
proxies/NAT, etc.

Currently, it is possible to make use of it in NGINX's NixOS module, but
is painful when we want to enable it "globally".
Technically, this is achieved by reworking the defaultListen options and
the objective is to have a coherent way to specify default listeners in
the current API design.
See `mkDefaultListenVhost` and `defaultListen` for the details.

It adds a safeguard against running a NGINX with no HTTP listeners (e.g.
only PROXY listeners) while asking for ACME certificates over HTTP-01.

An interesting usecase of PROXY protocol is to enable seamless IPv4 to
IPv6 proxy with origin IPv4 address for IPv6-only NGINX servers, it is
demonstrated how to achieve this in the tests, using sniproxy.

Finally, the tests covers:

- NGINX `defaultListen` mechanisms are not broken by these changes;
- NGINX PROXY protocol listeners are working in a final usecase
  (sniproxy);
- uses snakeoil TLS certs from ACME setup with wildcard certificates;

In the future, it is desirable to spoof-attack NGINX in this scenario to
ascertain that `set_real_ip_from` and all the layers are working as
intended and preventing any user from setting their origin IP address to
any arbitrary, opening up the NixOS module to bad™ vulnerabilities.

For now, it is quite hard to achieve while being minimalistic about the
tests dependencies.
2023-05-26 19:48:26 +02:00
Ryan Lahfa 435237d641
Merge pull request #233350 from GrahamDennis/grahamdennis/testing-networks
nixos/qemu-vm: add option for named network interfaces
2023-05-26 15:57:01 +02:00
Alyssa Ross a92bc576b1
nixos/stage-1: support bind mounts of files
On my system, / is tmpfs, and /etc/machine-id is bind mounted from
/persist.
2023-05-26 13:26:48 +00:00
Henri Menke 7d621d6be5
nixos/shadowsocks: wait for nginx to prevent race condition 2023-05-26 11:24:21 +02:00
Weijia Wang 9b6c126355
Merge pull request #234116 from chkno/nar-serve-fix
nixos/tests/nar-serve: Fix
2023-05-26 11:43:24 +03:00
Pol Dellaiera 371b4c3eb7
nixos/code-server: init tests 2023-05-26 09:51:33 +02:00
Scott Worley 8dcfb6853c nixos/tests/nar-serve: Fix 2023-05-25 19:10:22 -07:00
Yaya 931a1b97f7 nixos/tests/sftpgo: init 2023-05-25 22:46:15 +02:00
Sandro e29207b95a
Merge pull request #231630 from OPNA2608/fix/mir_keyboard_missing
mir: Pull patch to fix evdev device misses
2023-05-25 21:40:42 +02:00
Will Fancher fe43923a70
Merge pull request #229767 from mberndt123/mberndt123/stratis-rootfs
nixos/stratis: initrd support for stratis root volumes
2023-05-25 14:06:31 -04:00
ajs124 4f64a5c141 nixosTests.apparmor: fix expected.rules
was probably broken by recent-ish stdenv work
2023-05-24 19:17:29 +02:00
ajs124 2d63374a29 nixosTests.apparmor: fix after 5252e85595 2023-05-24 18:39:31 +02:00
zowoq 7a697fefe2 nixosTests.etcd-cluster: update name 2023-05-24 14:14:05 +10:00
zowoq 3865e5f46e nixosTests.etcd-cluster: fix test
match changes in 25f3323d60
2023-05-24 14:14:05 +10:00
Graham Dennis 93502aa3b1 nixos/qemu-vm: add option for named network interfaces
Adds a new option to the virtualisation modules that enables specifying explicitly named network interfaces in QEMU VMs.
The existing `virtualisation.vlans` option is still supported for cases where the name of the network interface is irrelevant.
2023-05-24 08:54:20 +10:00
Matthias Berndt feb5a3cdcd remove unneeded import 2023-05-23 14:56:49 +02:00
Alexander Sieg 5ade08168a
outline: add nixos test 2023-05-23 12:03:39 +02:00
0x4A6F afad0c152b
Merge pull request #214428 from mweinelt/frigate-init
frigate: init at 0.12.0
2023-05-22 18:29:37 +02:00
Ryan Lahfa 2e1e1f8765
Merge pull request #231502 from SuperSandro2000/portunus-openldap
nixos/portunus: use openldap compiled with libxcrypt-legacy
2023-05-22 18:20:52 +02:00
Naïm Favier 7b28ea6783
Merge pull request #233377 from ncfavier/revert-226088
Revert "nixos/syncthing: use rfc42 style settings"
2023-05-22 16:35:04 +02:00
Martin Weinelt c7ad6560b0
nixos/tests/frigate: init
Starts a frigate instance with a dummy video stream provided by ffmpeg.

Co-Authored-By: fleaz <mail@felixbreidenstein.de>
2023-05-22 16:29:55 +02:00
Will Fancher 636e03bef3
Merge pull request #232533 from nikstur/systemd-repart-create-root
nixos/systemd-repart: enable creating root partition
2023-05-22 09:13:00 -04:00
ajs124 b6ec248dd4
Merge pull request #233007 from LeSuisse/varnish73-init
varnish73: init at 7.3.0
2023-05-22 12:48:33 +02:00
Naïm Favier d5e090d2d8
Revert "nixos/syncthing: use rfc42 style settings"
This reverts commit 32866f8d58.
This reverts commit 40a2df0fb0.
This reverts commit 4762932601.
2023-05-22 10:29:52 +02:00
Ryan Lahfa 0e662e669a
Merge pull request #227642 from Flakebi/powerdns-admin2
powerdns-admin: 0.3.0 -> 0.4.1
2023-05-22 09:30:24 +02:00
Nick Cao cf577b1ef8
Merge pull request #232828 from Luflosi/update/apfsprogs
apfsprogs: unstable-2023-03-21 -> unstable-2023-05-16
2023-05-21 23:51:46 -06:00
Flakebi 1a13b4c0f9
powerdns-admin: 0.3.0 -> 0.4.1
- Fix with flask-migrate 4+
- Update to 0.4.1
- Improve the test to check that using the database works
2023-05-22 00:39:58 +02:00
Sandro Jäckel 00000006e9
nixos/tests: init portunus 2023-05-21 23:56:02 +02:00
Martin Weinelt f113e06f0f
Merge pull request #233245 from teutat3s/zhf/fix-prometheus-exporter-domain
nixosTests.prometheus-exporters.domain fix test
2023-05-21 22:05:56 +02:00
figsoda 611def187a
Merge pull request #233151 from Misterio77/headscale-better-test
nixos/tests/headscale: test improvements
2023-05-21 14:30:09 -04:00
Sandro a74a4a2f32
Merge pull request #232534 from teutat3s/zhf/fix-prometheus-exporter-jitsi
jitsi-videobridge: refactor broken `apis` option to `colibriRestApi`
2023-05-21 18:43:59 +02:00
Martin Weinelt 84229fb9cb
Merge pull request #233247 from teutat3s/zhf/fix-prometheus-exporter-statsd
nixosTests.prometheus-exporters.statsd fix test
2023-05-21 17:47:07 +02:00
teutat3s 810268b853
nixosTests.prometheus-exporters.statsd fix test 2023-05-21 17:10:44 +02:00
pennae 727086540f
Merge pull request #233238 from emilylange/username-change
maintainers: rename indeednotjames to emilylange
2023-05-21 17:07:05 +02:00
teutat3s 998819a01a
nixosTests.prometheus-exporters.domain fix test 2023-05-21 16:47:12 +02:00
emilylange b0e7f7f5db
maintainers: rename indeednotjames to emilylange 2023-05-21 16:01:35 +02:00
teutat3s cb81bd9340
jitsi-videobridge: refactor broken apis option to
colibriRestApi

Refactor option to use jvb.conf and convert to boolean. Using the CLI
argument broke a while ago and is deprecated by upstream since 2021:
https://github.com/jitsi/jitsi-videobridge/pull/1738/files#diff-d9f589d2aae1673693461d7c3b9214324201ca1f43db63a3c773d4acfc52bc81

This fixes the currently broken test:
nixosTests.prometheus-exporters.jitsi
2023-05-21 15:31:14 +02:00
Gabriel Fontes d18612fa7c
nixos/tests/headscale: test improvements
The test covers actual headscale+tailscale usage now.
2023-05-21 01:37:06 -03:00
Ryan Lahfa 07a84e229f
Merge pull request #232890 from nevivurn/feature/fix-fcitx5-test
nixosTests.fcitx5: unbreak, add rest of CJK
2023-05-20 17:54:51 +02:00
Robert Scott 04547deb91
Merge pull request #232884 from teutat3s/zhf/prometheus-exporters-json-test
nixosTests.prometheus-exporters.json: fix test script
2023-05-20 15:51:59 +01:00
Thomas Gerbet 16c6122a88 varnish73: init at 7.3.0
https://varnish-cache.org/releases/rel7.3.0.html
2023-05-20 13:49:24 +02:00
figsoda 202699c918 nixos/tests: fix typos 2023-05-19 22:31:04 -04:00
Martin Weinelt ee68357205
nixos/tests/home-assistant: Don't test matter
It is affected by the OpenSSL 1.1 EOL and removing it makes hydra build
this test again.
2023-05-20 00:31:07 +02:00
Yongun Seong 3be52dc1db
nixosTests.fcitx5: unbreak, add rest of CJK 2023-05-20 05:21:02 +09:00
teutat3s 1d556fd9f3
nixosTests.prometheus-exporters.json: fix test script
Upstream changed the config format in https://github.com/prometheus-community/json_exporter/pull/146
2023-05-19 21:49:55 +02:00
nikstur ef80e11032 nixos/systemd-repart: enable creating root partition 2023-05-19 15:54:55 +02:00
Luflosi 2e3134c536
apfsprogs: build apfs-snap
Build the apfs-snap tool, which was added some time ago.
Also add a NixOS test for it.
2023-05-19 14:35:06 +02:00
Yoann Beaugnon 9617d41ab1 nixos/libvirtd: add support for nixos managed libvirt hooks
Libvirt support calling user defined hooks on certains events.
Documentation can be found https://libvirt.org/hooks.html.
This commit allow specifying these hooks via the
virtualisation.libvirtd.hooks.<name>.* options
2023-05-19 12:46:07 +02:00
Alyssa Ross aedc462e8b nixosTests.mailman: init 2023-05-19 12:03:41 +02:00
Matthias Berndt cb410a8c59 Merge remote-tracking branch 'upstream/master' into mberndt123/stratis-rootfs 2023-05-17 21:47:19 -04:00
Anderson Torres c637afe9c1
Merge pull request #229030 from atorres1985-contrib/with-lib-is-bad
With lib is bad: removes `with lib;` occurrences - part I
2023-05-17 20:24:46 -03:00
Martin Weinelt a919e81dbf
Merge pull request #231512 from n0emis/zammad-5.4.1
zammad: 5.1.1 -> 5.4.1
2023-05-17 18:36:29 +02:00
Quentin Smith 5ac6839d72
systemd-networkd: add bridge VLANs to DHCP server test 2023-05-17 11:57:55 -04:00
Naïm Favier 40a2df0fb0
nixos/syncthing: fixup #226088 2023-05-17 16:53:01 +02:00
Ember Keske 8c5087c1f6 zammad: link test in passthru.tests 2023-05-17 16:06:50 +02:00
Matthias Berndt 92814241a8 improve stratis initrd support
it is now possible to supply a stratis pool uuid
for every filesystem, and if that filesystem
is required for boot, the relevant pool will be
started in the initramfs.
2023-05-16 22:48:36 -04:00
Mikaela Allan 9b47ad6682
nixos/config/swap: check failure in swap file test 2023-05-16 10:48:53 -04:00
Sandro efb55108b3
Merge pull request #231435 from drupol/openvscode-server/systemd-service 2023-05-16 14:14:29 +02:00
Doron Behar 9b0a03fc88
Merge pull request #226088 from Xyz00777/master
nixos/syncthing: applied rfc42 and added some additional options
2023-05-16 13:29:36 +03:00
Martin Weinelt d38127eb13
Merge pull request #232017 from NickCao/mjolnir
mjolnir: 1.5.0 -> 1.6.4, build with mkYarnPackage
2023-05-16 01:37:54 +02:00
OPNA2608 447657c2de mir: Pull patch to fix evdev device misses 2023-05-15 22:40:29 +02:00
Pol Dellaiera cce7cdd293
nixosTests.openvscode-server: init 2023-05-15 21:48:08 +02:00
Florian 391b059c1d
nixosTests.pgadmin4: increase test coverage (#229632)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-05-15 17:04:22 +02:00
Nick Cao 3c0f0d84a8
nixosTests.mjolnir: unbreak 2023-05-15 22:36:26 +08:00
Sandro 5bb17df552
Merge pull request #231705 from ambroisie/add-vikunja-port 2023-05-15 15:27:31 +02:00
Xyz00777 32866f8d58 nixos/syncthing: use rfc42 style settings 2023-05-15 14:38:56 +02:00
nikstur 46dfed6010 nixos/tests/rshim: init 2023-05-15 14:09:28 +02:00
Ryan Lahfa 5a7e90bc95
Merge pull request #228801 from NixOS/make-disk-image-faster
nixos/lib/make-disk-image: do not compile a full arch QEMU to convert images
2023-05-15 13:24:08 +02:00
Ryan Lahfa 8c4a3f67b5
Merge pull request #228956 from tensor5/pam-zfs-key
nixos/pam: enable unlocking ZFS home dataset
2023-05-15 11:42:30 +02:00
Ryan Lahfa fa06a3b646
Merge pull request #230888 from Misterio77/nextcloud-createlocally-optin
nixos/nextcloud: default createLocally to false
2023-05-15 09:28:15 +02:00
Nicola Squartini 56e894b0b1 nixos/pam: add test for ZFS home dataset unlocking 2023-05-15 09:22:42 +02:00
Ryan Lahfa e3bd7faa18
Merge pull request #226830 from Janik-Haag/birdwatcher
birdwatcher: init at 2.2.4, alice-lg: init at 6.0.0, nixos/birdwatcher: init, nixos/alice-lg: init
2023-05-15 08:42:10 +02:00
Janik H 40136a1f7f nixos/birdwatcher: init 2023-05-15 02:52:06 +02:00
Janik H 8ed86700a2 nixos/alice-lg: init 2023-05-15 02:52:06 +02:00
Jörg Thalheim 3007746b3f
Merge pull request #231473 from B4dM4n/eval-config-pass-system
treewide: pass system argument to eval-config.nix
2023-05-14 20:13:12 +01:00
Ryan Lahfa d4028c3eb6
Merge pull request #231870 from teutat3s/zhf/prometheus-exporter-wireguard
nixosTests.prometheus-exporters.wireguard: fix test script
2023-05-14 20:53:23 +02:00
Ryan Lahfa 285330f081
Merge pull request #230153 from mklca/swap-encrypt-enhancement
nixos/config/swap: improve randomEncrytion
2023-05-14 19:01:56 +02:00
Ryan Lahfa 1ee11b8a31
Merge pull request #231283 from nikstur/filesystems-erofs
nixos/filesystems: init erofs
2023-05-14 18:54:37 +02:00
teutat3s b3915bd5e2
nixosTests.prometheus-exporters.wireguard: fix test script
A newline in the public key breaks the test script, stripping it out
fixes the test.
2023-05-14 18:01:58 +02:00
Gabriel Fontes f9f76529cd
nixos/nextcloud: default createLocally to false 2023-05-14 12:09:50 -03:00
Ryan Lahfa 8ef486b60e
Merge pull request #207194 from RaitoBezarius/pixelfed-module
pixelfed: init at 0.11.5, module, tests
2023-05-14 17:09:19 +02:00
K900 95f0fe369b nixos/tests/nfs/simple: remove shutdown time check for now
Regressed in latest kernels, but seems less critical than
the channels being stuck for a week.
2023-05-14 10:16:16 +03:00
figsoda 7064ad5a6e nixosTests.nzbget: fix deprecation warning 2023-05-13 20:05:06 -04:00
Bruno BELANYI b981ba288c nixos/vikunja: test 'port' option 2023-05-13 18:01:36 +01:00
github-actions[bot] 51e24f4508
Merge master into staging-next 2023-05-13 12:01:05 +00:00
Bobby Rong ea11a3977f
Merge pull request #231378 from FedericoSchonborn/budgie-plugins
Add `budgiePlugins` set, init `budgie-user-indicator-redux` at 1.0.1
2023-05-13 17:08:10 +08:00
github-actions[bot] 0b21b8d8a6
Merge master into staging-next 2023-05-13 06:01:08 +00:00
Nick Cao a221f15b84
Merge pull request #231371 from Misterio77/update-headscale-test
nixos/tests/headscale: update test
2023-05-13 10:07:59 +08:00
Anderson Torres aec8dddef7 nixos/tests/gitlab.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres 6955c0c03b nixos/tests/yabar.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres 21b0935d38 nixos/tests/xss-lock.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres 9fe5926b15 nixos/tests/uptime-kuma.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres de2927e336 nixos/tests/tor.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres 07b75a58e1 nixos/tests/systemd-timesyncd.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres bef35b3b88 nixos/tests/sudo.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres 5f00f1f49c nixos/tests/sonarr.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 1b26f82eed nixos/tests/readarr.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 2f459bb0c4 nixos/tests/radarr.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres cb47374b5e nixos/tests/prowlarr.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres a8790192f3 nixos/tests/polaris.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 8cc0632c46 nixos/tests/please.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 4e9cdcb64e nixos/tests/ombi.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 196debcf29 nixos/tests/odoo.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 56934ebec4 nixos/tests/oci-containers.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 98f5064884 nixos/tests/nzbhydra2.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 757b9f1be6 nixos/tests/noto-fonts.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 2e4a81b23a nixos/tests/n8n.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres aa7d79c0f6 nixos/tests/mpv.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres ca916d0f61 nixos/tests/misc.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres 13dc33c7ac nixos/tests/miniflux.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres 6351703280 nixos/tests/lidarr.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres 9f34f195e1 nixos/tests/libreddit.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres 80042b4cd3 nixos/tests/komga.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres 67fd24d509 nixos/tests/jirafeau.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres cb95162f89 nixos/tests/jackett.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres 081a3c1fbe nixos/tests/iftop.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres 9bdb3ee175 nixos/tests/hadoop/hdfs.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres 49483ab768 nixos/tests/esphome.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres 1792f2c61c nixos/tests/doh-proxy-rust.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres 18d90beb1a nixos/tests/doas.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres a137b4161d nixos/tests/couchdb.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres 5ee5e4bb46 nixos/tests/common/auto.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres 334b168990 nixos/tests/common/acme/server/default.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres ba6bc92d5e nixos/tests/cadvisor.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres 6d1287bb75 nixos/tests/bazarr.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres a4af083f62 nixos/tests/atuin.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres 5252e85595 nixos/tests/apparmor.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres 5202b74305 nixos/tests/3proxy.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres 75a76768fe nixos/tests/xautolock.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres f872db7aed nixos/tests/ulogd.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres 714180048b nixos/tests/redis.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres 70e8a86b2b nixos/tests/pantheon.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres d1a2a4cbcc nixos/tests/hibernate.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres 3002c44f48 nixos/tests/gnome.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres ca96a578a5 nixos/tests/gnome-xorg.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres b51ac3bd4c nixos/tests/gnome-flashback.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres defe899239 nixos/tests/fluidd.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres 4e18039449 nixos/tests/convos.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres 7aa945d949 nixos/tests/cinnamon.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres 87586867d6 nixos/tests/calibre-web.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres b5a6dff664 nixos/tests/budgie.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres 047734d8e6 nixos/tests/boot-stage1.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres dc5919aa58 nixos/tests/quake3.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
AndersonTorres 5bba43ec57 nixos/tests/nfs/kerberos.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
AndersonTorres d87f1b8c9f nixos/tests/hardened.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
nikstur fa09e0a3c7 nixos/filesystems: init erofs
Enable using an erofs filesystem as one of the filesystems needed to
boot the system. This is useful for example in image based deployments
where the Nix store is mounted read only.
[erofs](https://docs.kernel.org/filesystems/erofs.html) offers multiple
benefits over older filesystems like squashfs. Skip fsck.erofs because
it is still experimental.
2023-05-12 19:55:32 +02:00
Fabian Möller c51fe112cc
treewide: pass system argument to eval-config.nix
Calling `eval-config.nix` without a `system` from a Nix flake fails with
`error: attribute 'currentSystem' missing` since #230523. Setting
`system = null` removes the use of `currentSystem` and instead uses the
value from the `nixpkgs` module.
2023-05-12 14:56:23 +02:00
github-actions[bot] 30ae8398a9
Merge master into staging-next 2023-05-12 12:01:26 +00:00
Martin Weinelt dc8f1bfe48
Merge pull request #231255 from Ma27/fix-vrf-test
nixos/tests/systemd-networkd-vrf: fix build & clean up
2023-05-12 12:47:54 +02:00
Federico Damián Schonborn 7da8045e7e
budgiePlugins.budgie-analogue-clock-applet: rename from budgie.budgie-analogue-clock-applet
Signed-off-by: Federico Damián Schonborn <fdschonborn@gmail.com>
2023-05-11 21:09:54 -03:00
github-actions[bot] 84352fc449
Merge master into staging-next 2023-05-12 00:01:57 +00:00
Gabriel Fontes e74d936730
nixos/tests/headscale: update test
Version 0.19.0 renamed 'namespace' to 'user'
https://github.com/juanfont/headscale/blob/main/CHANGELOG.md#0190-2023-01-29
2023-05-11 19:31:02 -03:00
Martin Weinelt 3c09f66193
Merge pull request #231096 from kai-tub/vector/add-pkg-opt
vector: add `package` Option
2023-05-11 22:10:20 +02:00
github-actions[bot] b9c14e0e61
Merge master into staging-next 2023-05-11 18:01:13 +00:00
Kai Norman Clasen 3142dd9827 nixosTests.vector: fix race condition 2023-05-11 19:45:47 +02:00
Ilan Joselevich e4298360d4
Merge pull request #231310 from Kranzes/harmonia
nixos/tests/harmonia: check if settings work
2023-05-11 19:23:10 +03:00
Robert Hensing 5c3e59b6d6
Merge pull request #230523 from hercules-ci/fast-nixos-test-eval
Fast nixos test eval
2023-05-11 17:34:46 +02:00
Ilan Joselevich 64d505e227
nixos/tests/harmonia: check if settings work 2023-05-11 18:03:14 +03:00
Robert Hensing 16e3647337 nixos/all-tests: Enable readOnlyPkgs by default for runTest
Most tests are not affected by this because they use the `handleTest`
function instead.
2023-05-11 16:36:49 +02:00
Robert Hensing f659db7ba2 nixos/testing: Add node.pkgs option
By factoring out this logic, it's easier for other projects to make
use of it this optimization too (and do it correctly).
2023-05-11 16:24:00 +02:00
Robert Hensing d0b0f9e441 nixosTests.acme: Use a read-only pkgs
This speeds up evaluation by a factor 2.

Ballpark figures from my machine:

```
$ time nix-build nixos/release.nix -A tests.acme
/nix/store/q4fxp55k64clcarsx8xc8f6s10szlfvz-vm-test-run-acme
/nix/store/lnfqg051sxx05hclva84bcbnjfc71c8x-vm-test-run-acme

real    1m28.142s
user    1m7.474s
sys     0m7.932s

$ time nix-build nixos/release.nix -A tests.acme
/nix/store/q4fxp55k64clcarsx8xc8f6s10szlfvz-vm-test-run-acme
/nix/store/lnfqg051sxx05hclva84bcbnjfc71c8x-vm-test-run-acme

real    0m38.235s
user    0m33.814s
sys     0m2.283s

```
2023-05-11 16:24:00 +02:00
Robert Hensing b213791e7e nixos/all-tests.nix: Add readOnlyPkgs module 2023-05-11 16:24:00 +02:00
Robert Hensing f212785e1e
Merge pull request #231246 from yayayayaka/gitlab-test-fix-warning
nixosTests.gitlab: Use module system based runner
2023-05-11 15:13:08 +02:00
Robert Hensing 8b2d1e4554
nixos/tests/gitlab.nix: Document running it
`nix-build $file` is not possible anymore, so this helps both newcomers and old hands.
It's documented in the manual, but that's far away.
2023-05-11 14:31:21 +02:00
github-actions[bot] 387f5d9a5f
Merge master into staging-next 2023-05-11 12:01:42 +00:00
ajs124 89f2a7f6ee
Merge pull request #231105 from helsinki-systems/upd/mariadb
mariadb: 10.4.29, 10.5.20, 10.6.13, 10.10.4, 10.11.3
2023-05-11 12:49:48 +02:00
Maximilian Bosch 501d0a65d4
nixos/tests/systemd-networkd-vrf: clean up
* Removed unused variables
* Deduplicate config for `node{1..3}`
2023-05-11 11:07:54 +02:00
Maximilian Bosch 8ccfd7a659
nixos/tests/systemd-networkd-vrf: fix build
For this round of ZHF: #230712
Failing Hydra build: https://hydra.nixos.org/build/219234565

Not sure why this a problem now and not in the past, but routes to
the corresponding `/24`-subnet are only configured if addresses are
specified with the correct CIDR.
2023-05-11 11:04:56 +02:00
Thomas ae31454d41
nixosTests.tinyproxy: init 2023-05-11 09:52:43 +02:00
Yaya 439625d5d5 nixosTests.gitlab: Use module system based runner 2023-05-11 07:31:13 +00:00
github-actions[bot] 079dc4c27d
Merge master into staging-next 2023-05-11 00:02:13 +00:00
Ilan Joselevich a8eea70935
Merge pull request #231113 from Kranzes/harmonia
nixos/harmonia: adjust module and test to upstream, harmonia: 0.6.3 -> 0.6.4
2023-05-11 00:37:41 +03:00
ajs124 6db7450827 nixos/installer/grub1: remove 2023-05-10 21:51:26 +02:00
Ilan Joselevich 7ecf20b490
nixos/harmonia: adjust module and test to upstream 2023-05-10 22:28:03 +03:00
ajs124 81244087ab nixosTests.mysql-replication: fix deprecation warning 2023-05-10 18:22:41 +02:00
Ryan Lahfa fe7b996d66
Merge pull request #230857 from s1341/bugfix_pam_sssd
nixos/pam: Allow password changing via sssd
2023-05-10 16:56:47 +02:00
Sandro 84b4373d8c
Merge pull request #230550 from Mic92/harmonia 2023-05-10 16:55:06 +02:00
Jörg Thalheim 76ffeaf06c nixos/harmonia: init service 2023-05-10 14:52:31 +02:00
Luflosi 220a0f4ca3
nixos/tests/aaaaxy: fix test
It got broken by 5c0aa81909.
The fix is to use a real X server instead of xvfb-run.
2023-05-10 14:45:01 +02:00
github-actions[bot] 71874015ba
Merge master into staging-next 2023-05-10 12:01:10 +00:00
Jörg Thalheim e758377984
Merge pull request #230926 from bachp/geth-test-zhf
nixos/geth: fix failing test
2023-05-10 07:23:24 +01:00
Pierre Bourdon ac4abaa9d5
nixos/tests/nginx: fix etag test flakiness 2023-05-10 05:01:50 +02:00
Pascal Bach 301ec4c067 nixos/geth: fix failing test
Run authrpc on different ports for main and testnet to avoid collision.
2023-05-09 20:35:28 +02:00
github-actions[bot] b5b52a946a
Merge staging-next into staging 2023-05-09 18:02:32 +00:00
s1341 d5fd433208 nixos/test/sssd-ldap: do new login on a different VT 2023-05-09 18:51:47 +03:00
Martin Weinelt daf7d8861f
Merge pull request #230871 from IndeedNotJames/nixos-tests-2047mb
nixosTests.gitea,nixosTests.forgejo,nixosTests.wiki-js: fix test on `i686-linux`
2023-05-09 17:22:32 +02:00
s1341 73811d22bb nixos/test/sssd-ldap: nixpkgs-fmt 2023-05-09 18:13:09 +03:00
IndeedNotJames 260ddac146
nixosTests.wiki-js: fix test on i686-linux
Fail pattern:
1. Unsuspecting `qemu-kvm` notice:
```
server # qemu-kvm: at most 2047 MB RAM can be simulated
```

2. Hard fail
```
    self.shell.send(out_command.encode())
BrokenPipeError: [Errno 32] Broken pipe
```

(Took me a while to consider those lines are related)
2023-05-09 15:22:35 +02:00
IndeedNotJames 0cbeb283cf
nixosTests.gitea,nixosTests.forgejo: fix test on i686-linux
Fail pattern:
1. Unsuspecting `qemu-kvm` notice:
```
server # qemu-kvm: at most 2047 MB RAM can be simulated
```

2. Hard fail
```
    self.shell.send(out_command.encode())
BrokenPipeError: [Errno 32] Broken pipe
```

(Took me a while to consider those lines are related)
2023-05-09 15:21:53 +02:00
Martin Weinelt 558b23afe3
Merge pull request #230844 from pennae/mosquitto-test-fix
nixos/mosquitto: use networkd for tests
2023-05-09 14:57:30 +02:00
s1341 20d707c8c4 nixos/test/sssd-ldap: make tests actually check login, password change 2023-05-09 13:46:17 +03:00
pennae 5f5b5a76b9 nixos/mosquitto: use networkd for tests
the non-networkd backend does not wait for slaac to finish (ie, ipv6
addresses coming out of tentative state), and that breaks the mosquitto
bind_interface test slightly. if slaac takes too long the test will run
into mosquitto restart limits and fail.
2023-05-09 11:41:17 +02:00
Janne Heß 20e186b7e2
nixos/mariadb: Fix test on i686
RocksDB is not built on that platform and the .so is missing
2023-05-09 09:15:52 +02:00
Matthias Berndt 8aa320b4c2 address code review issues 2023-05-08 23:18:55 +02:00
github-actions[bot] 54295bf976
Merge staging-next into staging 2023-05-08 18:02:09 +00:00
Alyssa Ross ecc1ec2c72 llvmPackages_latest: move to aliases.nix
Because llvmPackages_latest is used in Nixpkgs, by quite a few
packages, it's difficult to keep it up to date, because updating it
requires some level of confidence that every package that uses it is
going to keep working after the update.  The result of this is that
llvmPackages_latest is not updated, and so we end up in the situation
that "latest" is two versions older than the latest version we
actually provide.  This is confusing and unexpected.

"But won't this end up fragmenting our LLVM versions, if every package
previously using _latest is separately pinned to LLVM 14?", I hear you
ask.  No.  That fragmentation is already happening, even with an
llvmPackages_latest, because packages that actually require the
_latest_ version of LLVM (15/16), have already been decoupled from
llvmPackages_latest since it hasn't been upgraded.  So like it or not,
we can't escape packages depending on specific recent LLVMs.  The only
real fix is to get better at keeping the default LLVM up to
date (which I'm reasonably confident we're getting into a better
position to be feasibly better able to do).

So, unless we want to double down on providing a confusingly named
"llvmPackages_latest" attribute that refers to some arbitrary LLVM
version that's probably not the latest one (or even the latest one
available in Nixpkgs), we only have two options here: either we don't
provide such an attribute at all, or we don't use it in Nixpkgs so we
don't become scared to bump it as soon as we have a new LLVM available.
2023-05-08 13:05:33 +00:00
github-actions[bot] 4532c723ec
Merge staging-next into staging 2023-05-08 00:02:49 +00:00
Sandro 6197953fb6
Merge pull request #207106 from autrimpo/gonic-module
nixos/gonic: init
2023-05-08 01:28:24 +02:00
Michal Koutenský 8118e3de43 nixos/gonic: init 2023-05-07 22:43:23 +02:00
Ilan Joselevich 6a751fe806
Merge pull request #227765 from zhaofengli/darling
darling: init at unstable-2023-05-02
2023-05-07 22:29:02 +03:00
Matthias Berndt d1411444b6 add installer test for stratis root fs 2023-05-07 18:48:28 +02:00
Zhaofeng Li 4b8e060167 nixos/tests/darling: init 2023-05-06 22:49:35 -06:00
github-actions[bot] 1edcdf34e3
Merge staging-next into staging 2023-05-06 18:01:44 +00:00
Gabriel Fontes 16b3b0c53b nixos/tests/kavita: init 2023-05-06 13:57:53 -03:00
Dominique Martinet 5e8a27296b nixosTests.bpf: disable kfunc test on aarch64
commit fd5d7b2586 ("tests/bpf: add module BTF test") added a new test
for module BTF, but that test does not work on aarch64. (merged in
https://github.com/NixOS/nixpkgs/pull/214001 )

This is not a regression (kfuncs didn't work on bpftrace 0.16,
even if you do not use features requiring BTF like argument name
or type), so just disable the test on aarch64 until it is fixed.
2023-05-06 06:40:30 +09:00
Mikaela Allan 21b6bec0ff
nixos/config/swap: improve randomEncrytion
* add sector size parameter to swap randomEncryption
  * add key size parameter to swap randomEncryption
  * allow deviceName to be overridden for encrypted swap
  * create test for swap random encryption
  * update release notes
2023-05-05 13:36:42 -04:00
Ryan Lahfa 275a6e3d8d
Merge pull request #193469 from minijackson/mount-options-stage-1
nixos/stage-1: follow mount options
2023-05-05 17:05:48 +02:00
Jacek Galowicz 3ba45b082e
Merge pull request #228111 from alyssais/nixosTest-hostname
nixosTest: remove hostname limitations
2023-05-05 08:12:36 +02:00
Vladimír Čunát fb91facda2
nixos/tests/installer.nix: add missing kbd.dev
Sometimes the tests fail since splitting kbd.dev in PR #226247
https://hydra.nixos.org/build/218620685/nixlog/2/tail
Apparently the failure isn't 100% reproducible; I don't know how/why.
2023-05-04 08:35:23 +02:00
Jonas Heinrich 9679582652 wordpress: 6.1.1 -> 6.2; wordpress6_2: init 2023-05-03 13:56:50 +02:00
Martin Weinelt 826418fc35
Merge pull request #227990 from Mic92/mediawiki-webserver
nixos/mediawiki: make apache2 optional
2023-05-02 12:39:10 +02:00
Jonas Heinrich d932d6929b
Merge pull request #227401 from onny/maddytls2
nixos/maddy: Add tls option
2023-05-02 07:32:56 +02:00
Jörg Thalheim 077e950f7a nixos/mediawiki: also test fcgi socket 2023-05-01 20:51:11 +02:00
Jörg Thalheim d309952a5d nixos/mediawiki: make apache optional 2023-05-01 20:51:11 +02:00
Jonas Heinrich fcf6662fb5
Merge pull request #229159 from Misterio77/refactor-nextcloud-createlocally
nixos/nextcloud: refactor database.createLocally
2023-05-01 20:04:20 +02:00
Jonas Heinrich 616ba4ae5c nixos/maddy: Add tls option 2023-05-01 19:12:26 +02:00
Gabriel Fontes fddf531c6f
nixos/nextcloud: refactor database.createLocally
Fixes https://github.com/NixOS/nixpkgs/issues/228971
2023-05-01 12:20:40 -03:00
github-actions[bot] 7e5a4795a7
Merge master into staging-next 2023-05-01 06:01:42 +00:00
Weijia Wang b87aa62298
Merge pull request #227936 from wineee/dde
nixos/deepin: init
2023-05-01 08:38:45 +03:00
github-actions[bot] 2b265000ed
Merge master into staging-next 2023-04-30 18:01:17 +00:00
Kira Bruneau 50200de3f4
Merge pull request #216230 from tcheronneau/master
nixos/{consul-template,vault-agent}: init
2023-04-30 13:53:57 -04:00
gaykitty d4f3dd4f71 nixos/stargazer: fix route ordering 2023-04-30 13:05:34 -03:00
Elias Probst 3bd1c64a5b
nixos/restic: use private tmp for service unit
To reduce the danger of accidentally exposing sensitive files processed
by a restic backup to other services/users, enable the `PrivateTmp=`
feature of restic service units, which provides a per service isolation
of `/tmp` and `/var/tmp`.

Co-authored-by: Daniel Nagy <danielnagy@posteo.de>
2023-04-30 10:39:29 +02:00
github-actions[bot] 3d5144e385
Merge master into staging-next 2023-04-30 00:02:27 +00:00
Kira Bruneau f81a619c91
Merge pull request #227916 from IndeedNotJames/lldap
lldap: init at 0.4.3; nixos/lldap: init; nixosTests.lldap: init
2023-04-29 15:24:12 -04:00
IndeedNotJames 5eb2e64d80
nixosTests.lldap: init 2023-04-29 21:14:25 +02:00
rewine d63d98212a
nixos/tests/deepin: init 2023-04-29 22:36:22 +08:00
github-actions[bot] 33176679ce
Merge master into staging-next 2023-04-29 06:01:04 +00:00
Raito Bezarius bc502d0a14 nixos/bootspec: adopt the merged RFC-0125
This removes the feature preview warning, enable by default bootspec,
adds a validation flag to prevent Go to go into build-time closure.

This will break all downstream users of bootspec as those changes are
not backward-compatible.
2023-04-28 18:26:11 -07:00
github-actions[bot] 534c4a7623
Merge master into staging-next 2023-04-29 00:02:00 +00:00
Raito Bezarius f9d741912f nixos/tests/systemd-repart: use qemu_kvm (host arch) instead of qemu (all arches) 2023-04-29 01:45:54 +02:00
Martin Weinelt 9ebb469697
nixosTests.home-assistant: Test more components 2023-04-28 21:37:52 +02:00
github-actions[bot] 63a3bd8731
Merge staging-next into staging 2023-04-26 18:01:39 +00:00
Vladimír Čunát d6b863fd9b
Merge #226795: staging-next 2023-04-18 2023-04-26 18:35:28 +02:00
Yaya 5effdaaa40
nixos/tests/snipe-it: init (#180772) 2023-04-26 17:46:15 +02:00
github-actions[bot] 4904bab0a9
Merge staging-next into staging 2023-04-26 06:03:02 +00:00
github-actions[bot] b32da71ae4
Merge master into staging-next 2023-04-26 06:02:24 +00:00
Bobby Rong d9293111a9
Merge pull request #227526 from FedericoSchonborn/more-budgie
budgie: add plugin support, update default settings
2023-04-26 11:11:24 +08:00
Yureka c32144bd1d nixos/tests/pppd: fix with ppp 2.5.0 2023-04-25 18:00:12 +02:00
IndeedNotJames 3e7069bb47
nixosTests.consul-template: init 2023-04-25 16:54:08 +02:00
Sophie Tauchert d568766fc7
nixos/traefik: add environmentFiles option 2023-04-25 16:05:28 +02:00
IndeedNotJames 524fe7ff51
nixosTests.vault-agent: init 2023-04-25 15:58:30 +02:00
Minijackson 8f94053a21
nixosTests.early-mount-options: init 2023-04-25 13:07:08 +02:00
Robert Hensing e207f4a116 nixosTests.nixos-test-driver.node-name: init 2023-04-25 12:21:38 +02:00
Robert Hensing 3ec3d283c5 nixos/tests: extra-python-packages -> nixos-test-driver/extra-python-packages
Categorizing the tests for the test driver helps with testing the test driver.
2023-04-25 12:03:15 +02:00
github-actions[bot] 497ac06266
Merge master into staging-next 2023-04-25 06:01:40 +00:00
Mario Rodas 5249a7ce55
Merge pull request #220812 from anpin/feature/promscale-rebase
promscale: 0.10.0 -> 0.17.0
2023-04-24 21:02:25 -05:00
gaykitty c251c021fe nixos/stargazer: init 2023-04-24 21:52:19 -03:00
Jörg Thalheim 1d2a96eda3 nixos/mediawiki: move virtualHost to httpd.virtualHost
This is a preparation to also allow nginx as a http server.
2023-04-24 14:24:52 +02:00
Vladimír Čunát 011bf8f5d9
Merge branch 'master' into staging-next 2023-04-24 08:10:21 +02:00
Sandro 0438816b9e
Merge pull request #226974 from IndeedNotJames/forgejo-build-from-source 2023-04-24 00:04:16 +02:00
Federico Damián Schonborn 45d0a21ce6
nixos/tests/budgie: Add budgie-analogue-clock-applet
Signed-off-by: Federico Damián Schonborn <fdschonborn@gmail.com>
2023-04-23 10:39:38 -03:00
Pavel Anpin 08ddf6f0e3
nixosTests.promscale: add tests for promscale_extension 2023-04-22 21:29:50 +04:00
github-actions[bot] ca0f3efdbe
Merge master into staging-next 2023-04-21 18:01:26 +00:00
Weijia Wang 89d59988a7
Merge pull request #227445 from fgaz/ft2-clone/1.66
ft2-clone: 1.65 -> 1.66, fix nixos test
2023-04-21 20:41:19 +03:00
Florian Klink 6b27ed3229
Merge pull request #169116 from ElvishJerricco/systemd-stage-1-networkd
Systemd stage 1 networkd
2023-04-21 18:40:59 +02:00
Raito Bezarius f341151cfa nixos/tests/pixelfed: init test 2023-04-21 17:39:24 +02:00
Francesco Gazzetta a4807f566d nixosTests.ft2-clone: make OCR more robust 2023-04-21 15:35:20 +02:00
github-actions[bot] aac843d611
Merge master into staging-next 2023-04-21 12:01:11 +00:00
Ryan Lahfa 4b4e4c3ef9
Merge pull request #207039 from NixOS/qemu-boot-disk-using-make-disk-image
nixos/qemu-vm: refactor bootDisk using make-disk-image
2023-04-21 13:47:17 +02:00
Ryan Lahfa d231d9b521
Merge pull request #226871 from apeschar/zfs-curl
zfs: enable keylocation=http://
2023-04-21 13:11:17 +02:00
Raito Bezarius 614b83a328 nixos/virtualisation/qemu-vm: remove persistBootDevice option
This option has been introduced in 678eed323f without realizing there was this
PR inflight, unfortunately, it collide with what this PR does and make
it irrelevant.

Therefore, I remove it here.
2023-04-21 13:00:19 +02:00
Raito Bezarius e3a41f3fec nixos/tests/bootspec: assert for boot.json rather than bootspec/boot.json 2023-04-21 13:00:19 +02:00
Raito Bezarius 58f4c3944d nixos/tests(treewide): vdb → vda, vdc → vdb, vdd → vdc, … / bootDevice → rootDevice 2023-04-21 13:00:19 +02:00
Maximilian Bosch 636e9f7418
Merge pull request #227235 from Ma27/bump-nextcloud
nextcloud: 25.0.5 -> 25.0.6, 26.0.0 -> 26.0.1, remove nc24
2023-04-21 11:14:29 +02:00
IndeedNotJames 254180d508
nixosTests.gitea: fix sshd race condition 2023-04-21 03:56:51 +02:00
github-actions[bot] 7fea76bc9d
Merge master into staging-next 2023-04-21 00:02:18 +00:00
Weijia Wang 8b1ef3b06c
Merge pull request #225222 from Luflosi/test-aaaaxy
nixos/tests/aaaaxy: init
2023-04-20 22:31:30 +03:00
K900 7a86a7f9ed nixos/tests/pipewire: don't enable pipewire in test VM
It's not actually used
2023-04-20 18:02:38 +03:00
Maximilian Bosch 430f1dcdbd
nextcloud: remove nextcloud24, 25.0.5 -> 25.0.6, 26.0.0 -> 26.0.1 2023-04-20 11:34:54 +02:00
Flakebi 603e89eef9 kanidm: BindMount certificate paths
Bind mount the base dirs of the tls key and chain into the service.

Make sure to bind every directory just once. The test failed on ofborg
when /nix/store and the certificate path in /nix/store/<some path> were
bound.
2023-04-20 02:32:37 +02:00
Alyssa Ross e6c0587ee5
nixosTests.power-profiles-daemon: enable polkit
I think this is required for the gdbus invocations used to implement
the test, rather than for power-profiles-daemon itself.

Fixes: a813be071c ("nixos/polkit: don't enable by default")
2023-04-19 14:21:15 +00:00
Sandro 4f6b51d99c
Merge pull request #224212 from Guekka/monica
monica: init at 4.0.0 & nixos-module
2023-04-18 16:58:42 +02:00
Sandro ed7dd78b3f
Merge pull request #225274 from tie/nixos-pufferpanel
nixos/pufferpanel: init
2023-04-18 16:57:14 +02:00
Albert Peschar 0f05321d78 zfs: enable keylocation=http://
When ZFS is built with cURL, it allows retrieving encryption keys from
URLs automatically.
2023-04-18 17:44:25 +03:00
Linus Heckemann b14aded48a
Merge pull request #222617 from oddlama/esphome
nixos/esphome: init module
2023-04-18 06:45:40 +02:00
Will Fancher 3cb9534df6 systemd-initrd: Flush networkd 2023-04-17 16:41:36 -04:00
Will Fancher 834ec135ce systemd-initrd: OpenVPN 2023-04-17 16:41:35 -04:00
Will Fancher 0698a1cf04 systemd-initrd: sshd 2023-04-17 16:41:35 -04:00
Will Fancher 748f1329fc systemd-initrd: Automatically configure networking.interfaces 2023-04-17 16:41:35 -04:00
Will Fancher dd392d7c76 systemd-initrd: networkd 2023-04-17 16:41:34 -04:00
Ryan Lahfa 6bf4cde63f
Merge pull request #226214 from leon-barrett/leon-make-disk-image-dir
nixos/make-disk-image: fix contents dir paths
2023-04-16 21:49:09 +02:00
Guillaume Girol 40bbc9ae53
Merge pull request #225285 from symphorien/ihm-remove
python3.pkgs.ihatemoney: remove
2023-04-16 19:23:00 +00:00
Leon Barrett 15c760d6b8 nixos/make-disk-image: fix contents dir paths
`make-disk-image` is a tool for creating VM images. It takes an argument
`contents` that allows one to specify files and directories that should
be copied into the VM image. However, directories end up not at the
specified target, but instead at a subdirectory of the target, with a
nix-store-like path, e.g.
`/target/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-source`. See issue
https://github.com/NixOS/nixpkgs/issues/226203 .

This change adds a test for make-disk-image's contents directory
handling and adds a fix (appending `/` to rsync input directory names).

This closes issue https://github.com/NixOS/nixpkgs/issues/226203 .
2023-04-16 09:54:45 -07:00
Leon Barrett a711e445cc nixos/tests/ec2: Fix test tooling
This change fixes two problems with the qemu testing code:
1. Previously, the qemu-img command was missing a disk image format
   argument.
2. Previously, if a test assertion failed, the test hung because the VM
   was not torn down.
2023-04-16 09:54:10 -07:00
Guillaume Girol 3cc8b4477e python3.pkgs.ihatemoney: remove
sqlalchemy and flask releases break ihatemoney faster than upstream
updates, so the maintenance burden increases over time.
2023-04-16 16:04:35 +02:00
Ivan Trubach 4bbe09068a nixos/pufferpanel: init 2023-04-16 15:41:24 +03:00
Edgar B 33a7f368b4 nixos/monica: init 2023-04-16 11:24:00 +02:00
Luflosi f2be3ae30d
nixos/kubo: restrict access to the API to users in a group by default 2023-04-15 15:25:20 +02:00
Luflosi 7ceebbb35b
nixos/kubo: allow multiple API and Gateway addresses
The daemon allows specifying an array of multiaddrs for Addresses.API and Addresses.Gateway, so the NixOS module should allow that as well.
2023-04-15 15:25:06 +02:00
Luflosi 929a00bd84
nixos/kubo: give normal users access to the daemon by default
Fixes https://github.com/NixOS/nixpkgs/issues/223289.

This doesn't reduce the security in any way since it was already possible for normal users to do what I do here and create such a fake repo for themselves and set their $IPFS_PATH variable to it. It was and still is also possible to just use the --api CLI option.
This change just removes the manual setup that would otherwise be required.

We wouldn't need this workaround if https://github.com/ipfs/kubo/pull/9366 was merged but the fix seems to have been ignored upstream. Patching it ourselves seems like a bad idea since the patch has security implications.
2023-04-15 15:24:58 +02:00
Luflosi 409df93c01
nixos/tests/kubo: use subtests instead of comments
Specify the intent of parts of the tests by using `with subtest("...")` instead of a comment for more clarity.
2023-04-15 15:24:49 +02:00
Luflosi bf97703f0e
nixos/tests/kubo: clean up code
- Use `runTest` instead of `handleTest`, which simplifies the code a little
- Use `lib.maintainers` instead of `pkgs.lib.maintainers`
- Use `ipfs add --quieter` instead of `ipfs add | awk '{ print $2 }'`
- Whitespace and comment changes
2023-04-15 15:24:43 +02:00
Luflosi 62bff9ab15
nixos/tests/kubo: add Luflosi as maintainer 2023-04-15 15:24:37 +02:00
Alyssa Ross 3a776e1e30 nixosTests.cage: fix OCR properly
The underlying problem with OCR in this test has been that the only
font installed was DejaVu Sans, a proportional font, which xterm would
try to render as monospace.  This produced very broken looking text,
which the OCR understandably had trouble with.  With an actual
monospace font installed, there are no more problems and we don't need
the hacks.
2023-04-14 22:32:26 +00:00
Sandro f9e70759cd
Merge pull request #213816 from karmanyaahm/karmanyaahm/nixos/kubo 2023-04-14 00:48:37 +02:00
Jonas Heinrich 86a685ceb1 nixos/maddy: Add option ensureCredentials 2023-04-13 09:36:54 -04:00
Karmanyaah Malhotra 5fb09c9e3a nixos/kubo: Test Kubo restart after a crash
Move strip() to definition

Co-authored-by: Luflosi <Luflosi@users.noreply.github.com>
2023-04-13 03:14:59 -05:00
Karmanyaah Malhotra 28949db47e nixos/kubo: reenable FUSE test with workaround
Update comment notice on broken fuse

Co-authored-by: Luflosi <Luflosi@users.noreply.github.com>
2023-04-13 03:14:59 -05:00
Luflosi 6032e00504
nixos/tests/aaaaxy: init
Add a simple VM test for the game AAAAXY.
2023-04-13 00:43:44 +02:00
Sandro 603320b64f
Merge pull request #204534 from SuperSandro2000/boot-tmp 2023-04-12 21:37:47 +02:00
Will Fancher e70b42bf61 systemd-initrd: Add users and groups with static IDs. 2023-04-12 13:55:50 -04:00
Ryan Lahfa 6a101d0be6
Merge pull request #225225 from puppe/fix-yggdrasil-tests
nixos/yggdrasil: fix yggdrasil local peering test
2023-04-12 13:36:37 +02:00
github-actions[bot] 47157337bf
Merge master into staging-next 2023-04-12 00:02:18 +00:00
Will Fancher fef26d88e2 systemd-initrd: Support secrets when boot loader doesn't
initrd-secrets: Fix service config with systemd-stage-1
2023-04-11 15:20:47 -04:00
Jörg Thalheim 89103b63d2
Merge pull request #225195 from Mic92/buildbot
buildbot: move out of python3.pkgs
2023-04-11 19:49:24 +01:00
github-actions[bot] 4e2c1815ed
Merge master into staging-next 2023-04-11 18:01:18 +00:00
Martin Weinelt 7e8b87566a
Merge pull request #219493 from covert8/ceph-17
ceph: 16.2.10 -> 17.2.5
2023-04-11 19:35:38 +02:00
marius david 83c344fedb nixos/tests/yggdrasil: fix local peering test 2023-04-11 14:34:28 +02:00
Jörg Thalheim 90b750456e buildbot: move out of python3.pkgs
By moving it out we can start apply overrides to python dependendencies
starting with sqlalchemy.

This fixes the build with the current version.
2023-04-11 12:38:58 +02:00
github-actions[bot] fc0616b73d
Merge master into staging-next 2023-04-09 06:01:16 +00:00
Sandro 60a935583a
Merge pull request #211607 from Izorkin/fix-nginx-test 2023-04-09 02:59:58 +02:00
github-actions[bot] 75e19b98bb
Merge master into staging-next 2023-04-08 00:02:03 +00:00
Michele Guerini Rocco 26c3a8a421
Merge pull request #219580 from rnhmjoj/pr-libreswan
libreswan fixes
2023-04-07 20:32:56 +02:00
Vladimír Čunát b856c0f8f4
Merge #218143: GNOME: 43 → 44
...into staging-next
2023-04-07 16:09:13 +02:00
Viv Lim c778f4d225 nixos/mastodon: Allow configuring sidekiq processes
This change allows the number of sidekiq processes and which job classes
they handle to be configured.

An instance admin may choose to have separate sidekiq processes handling
jobs related to local users (`default` job class) and jobs related to
federation (`push`, `pull`, `ingress`), so that as the instance grows
and takes on more federation traffic, the local users' experience is not
as impacted.

For more details, see https://docs.joinmastodon.org/admin/scaling/#sidekiq

This pr also includes the following changes suggested in review:

- adds syslog identifiers for mastodon services
- moves working directory config to common cfgService
- adds mastodon.target
2023-04-06 16:30:16 +02:00
Jan Tojnar d8dde72fbb nixosTests.gnome: Fix tests for 44
1. Launching an app externally (like we do in tests) does not dismiss the GNOME Shell’s Activities view opened on log-in.
2. Activities view grabs input so that user can type to search.
3. Due to a regression in Mutter 44, a window focus is not acquired when Shell grabs input
   3ac82a58c5

As a result, trying to determine the WMClass would throw:

    TypeError: global.display.focus_window is null

Let’s dismiss the Activities view with Escape key as a workaround.
2023-04-06 04:19:08 +02:00
Jan Tojnar 98d2e797e8 nixos/tests/gnome: Do not use autostart and switch to kgx
Starting terminal with autostart makes it harder to control when it is activated.
This reverts commit 7aaf526225.

Unfortunately, we cannot simply just go back since that would fail
as mentioned in the reverted commit.
It appears that this is due to the app not being able to find DISPLAY,
since switching to a different terminal emulator will complain:

    (kgx:1612): Gtk-WARNING **: 01:12:49.988: cannot open display: :0.0

Let’s use D-Bus activation rather than executing the program through su.
That will hopefully take care of all the necessary environment variables.

And since GNOME Terminal does not support D-Bus activation for the app,
let’s switch to GNOME Console. It probably makes sense anyway,
as it is the default terminal emulator.

Also let’s unify the WMClass detection a bit. Though, weirdly,
the WMClass differs on Wayland.
2023-04-06 04:19:08 +02:00
oddlama 8df62ec46c
nixos/esphome: init module 2023-04-05 17:35:58 +02:00
Sandro aba8811574
Merge pull request #220216 from 06kellyjac/tracee
tracee: 0.11.0 -> 0.13.0
2023-04-05 14:22:50 +02:00
Ryan Lahfa a6bc6ed645
Merge pull request #206983 from minijackson/netbox-3.4.1
netbox: 3.3.9 -> 3.4.7, netbox_3_3: init at 3.3.10, RFC42-style options, more tests
2023-04-05 14:04:27 +02:00
06kellyjac 27f407b4bb tracee: 0.11.0 -> 0.13.0
Also split out into separate outputs and dropped tracee-*
binaries due to the new single tracee binary

Mark aarch64-linux as officially supported
2023-04-05 10:47:26 +01:00
Martin Weinelt ca051755d9
Merge pull request #224495 from Mic92/mediawiki-postgres
mediawiki: add support for postgresql
2023-04-04 12:21:06 +02:00
Minijackson 78eb4d64e7 netbox_3_3: init
reintroduce previous version, use in NixOS module if stateVersion < 23.05
2023-04-04 11:45:31 +02:00
Minijackson 949763988a nixos/tests/netbox: test through proxy, REST API, GraphQL, LDAP integration 2023-04-04 11:45:30 +02:00
ajs124 3acb3d73ae elasticsearch-oss: remove 2023-04-04 10:32:26 +02:00
ajs124 09a6672bbf elasticsearch6*: remove 2023-04-04 10:32:23 +02:00
Jörg Thalheim d9c613d746 mediawiki: add support for postgresql 2023-04-04 07:50:04 +02:00
Bobby Rong 28031f7579
Merge pull request #216737 from FedericoSchonborn/budgie
Budgie Desktop
2023-04-03 10:57:32 +08:00
Federico Damián Schonborn ce6f0af954
nixos/doc: add release note for Budgie Desktop
Signed-off-by: Federico Damián Schonborn <fdschonborn@gmail.com>
2023-04-02 21:52:39 -03:00
Federico Damián Schonborn c0dcb5c24a
nixos/tests/budgie: init
Signed-off-by: Federico Damián Schonborn <fdschonborn@gmail.com>
2023-04-02 21:52:36 -03:00
Izorkin c72007809d
nixos/tests/nginx: update nginx-http3 test 2023-04-01 16:25:44 +03:00
Izorkin 7ec7922b04
nixos/tests/nginx: update test script 2023-04-01 13:51:49 +03:00
Sandro c2ae278eb8
Merge pull request #221851 from Ma27/postgresql-jit-support
postgresql: implement opt-in JIT support
2023-03-29 13:29:30 +02:00
Maximilian Bosch e2fb651752
nixos/postgresql: fix enableJIT
Make sure that JIT is actually available when using

    services.postgresql = {
      enable = true;
      enableJIT = true;
      package = pkgs.postgresql_15;
    };

The current behavior is counter-intuitive because the docs state that
`enableJIT = true;` is sufficient even though it wasn't in that case
because the declared package doesn't have the LLVM dependency.

Fixed by using `package.withJIT` if `enableJIT = true;` and
`package.jitSupport` is `false`.

Also updated the postgresql-jit test to test for that case.
2023-03-29 08:39:47 +02:00
Maximilian Bosch 608cb37533
nixos/tests/postgresql: fix deprecation warning 2023-03-29 08:39:46 +02:00
Maximilian Bosch 2282fa73a1
postgresql: implement opt-in JIT support
Closes #150801

Note: I decided against resuming directly on #150801 because the
conflict was too big (and resolving it seemed too error-prone to me).
Also the `this`-refactoring could be done in an easier manner, i.e. by
exposing JIT attributes with the correct configuration. More on that
below.

This patch creates variants of the `postgresql*`-packages with JIT[1]
support. Please note that a lot of the work was derived from previous
patches filed by other contributors, namely dasJ, andir and abbradar,
hence the co-authored-by tags below.

Effectively, the following things have changed:

* For JIT variants an LLVM-backed stdenv with clang is now used as
  suggested by dasJ[2]. We need LLVM and CLang[3] anyways to build the
  JIT-part, so no need to mix this up with GCC's stdenv. Also, using the
  `dev`-output of LLVM and clang's stdenv for building (and adding llvm
  libs as build-inputs) seems more cross friendly to me (which will
  become useful when cross-building for JIT-variants will actually be
  supported).

* Plugins inherit the build flags from the Makefiles in
  `$out/lib/pgxs/src` (e.g. `-Werror=unguarded-availability-new`). Since
  some of the flags are clang-specific (and stem from the use of the
  CLang stdenv) and don't work on gcc, the stdenv of `pkgs.postgresql`
  is passed to the plugins. I.e., plugins for non-JIT variants are built
  with a gcc stdenv on Linux and plugins for JIT variants with a clang
  stdenv.

  Since `plv8` hard-codes `gcc` as `$CC` in its Makefile[4], I marked it
  as broken for JIT-variants of postgresql only.

* Added a test-matrix to confirm that JIT works fine on each
  `pkgs.postgresql_*_jit` (thanks Andi for the original test in
  #124804!).

* For each postgresql version, a new attribute
  `postgresql_<version>_jit` (and a corresponding
  `postgresqlPackages<version>JitPackages`) are now exposed for better
  discoverability and prebuilt artifacts in the binary cache.

* In #150801 the `this`-argument was replaced by an internal recursion.
  I decided against this approach because it'd blow up the diff even
  more which makes the readability way harder and also harder to revert
  this if necessary.

  Instead, it is made sure that `this` always points to the correct
  variant of `postgresql` and re-using that in an additional
  `.override {}`-expression is trivial because the JIT-variant is
  exposed in `all-packages.nix`.

* I think the changes are sufficiently big to actually add myself as
  maintainer here.

* Added `libxcrypt` to `buildInputs` for versions <v13. While
  building things with an LLVM stdenv, these versions complained that
  the extern `crypt()` symbol can't be found. Not sure what this is
  exactly about, but since we want to switch to libxcrypt for `crypt()`
  usage anyways[5] I decided to add it. For >=13 it's not relevant
  anymore anyways[6].

* JIT support doesn't work with cross-compilation. It is attempted to
  build LLVM-bytecode (`%.bc` is the corresponding `make(1)`-rule) for
  each sub-directory in `backend/` for the JIT apparently, but with a
  $(CLANG) that can produce binaries for the build, not the host-platform.

  I managed to get a cross-build with JIT support working with
  `depsBuildBuild = [ llvmPackages.clang ] ++ buildInputs`, but
  considering that the resulting LLVM IR isn't platform-independent this
  doesn't give you much. In fact, I tried to test the result in a VM-test,
  but as soon as JIT was used to optimize a query, postgres would
  coredump with `Illegal instruction`.

A common concern of the original approach - with llvm as build input -
was the massive increase of closure size. With the new approach of using
the LLVM stdenv directly and patching out references to the clang drv in
`$out` the effective closure size changes are:

    $ nix path-info -Sh $(nix-build -A postgresql_14)
    /nix/store/kssxxqycwa3c7kmwmykwxqvspxxa6r1w-postgresql-14.7	306.4M
    $ nix path-info -Sh $(nix-build -A postgresql_14_jit)
    /nix/store/xc7qmgqrn4h5yr4vmdwy56gs4bmja9ym-postgresql-14.7	689.2M

Most of the increase in closure-size stems from the `lib`-output of
LLVM

    $ nix path-info -Sh /nix/store/5r97sbs5j6mw7qnbg8nhnq1gad9973ap-llvm-11.1.0-lib
    /nix/store/5r97sbs5j6mw7qnbg8nhnq1gad9973ap-llvm-11.1.0-lib	349.8M

which is why this shouldn't be enabled by default.

While this is quite much because of LLVM, it's still a massive
improvement over the simple approach of adding llvm/clang as
build-inputs and building with `--with-llvm`:

    $ nix path-info -Sh $(nix-build -E '
	with import ./. {};
	postgresql.overrideAttrs ({ configureFlags ? [], buildInputs ? [], ... }: {
	  configureFlags = configureFlags ++ [ "--with-llvm" ];
	  buildInputs = buildInputs ++ [ llvm clang ];
	})' -j0)
    /nix/store/i3bd2r21c6c3428xb4gavjnplfqxn27p-postgresql-14.7	  1.6G

Co-authored-by: Andreas Rammhold <andreas@rammhold.de>
Co-authored-by: Janne Heß <janne@hess.ooo>
Co-authored-by: Nikolay Amiantov <ab@fmap.me>

[1] https://www.postgresql.org/docs/current/jit-reason.html
[2] https://github.com/NixOS/nixpkgs/pull/124804#issuecomment-864616931
    & https://github.com/NixOS/nixpkgs/pull/150801#issuecomment-1467868321
[3] This fails with the following error otherwise:
    ```
    configure: error: clang not found, but required when compiling --with-llvm, specify with CLANG=
    ```
[4] https://github.com/plv8/plv8/blob/v3.1.5/Makefile#L14
[5] https://github.com/NixOS/nixpkgs/pull/181764
[6] c45643d618
2023-03-29 08:39:46 +02:00
Martin Weinelt 0a33e0d071
Merge pull request #223479 from dotlambda/vaultwarden-1.28.0
vaultwarden: 1.27.0 -> 1.28.0
2023-03-28 22:50:12 +02:00
Robert Schütz f672b32b2e vaultwarden: 1.27.0 -> 1.28.0
Diff: https://github.com/dani-garcia/vaultwarden/compare/1.27.0..1.28.0

Changelog: https://github.com/dani-garcia/vaultwarden/releases/tag/1.28.0
2023-03-28 10:15:39 -07:00
Ryan Lahfa 482c735228
Merge pull request #223388 from 06kellyjac/authelia-move
authelia: move module under security and minor fixes
2023-03-27 21:59:57 +02:00
Ryan Lahfa 90b5f42ec9
Merge pull request #222946 from RaitoBezarius/zfs-6_2-6_3-compat
zfsUnstable: make it compatible again with 6.2.8 and potentially 6.3
2023-03-27 21:11:41 +02:00
K900 e74d28259d
Merge pull request #162479 from stuebinm/feature/mattermost-secrets
nixos/mattermost: add secretFile option for declarative configs (again)
2023-03-27 21:50:18 +03:00
stuebinm c29ca6704d mattermost: add environmentFile option to allow declarative secrets
This adds an option `services.mattermost.environmentFile`, intended to be
useful especially when `services.mattermost.mutableConfig` is set to `false`.
Since all mattermost configuration options can also be set by environment
variables, this allows managing secret configuration values in a declarative
manner without placing them in the nix store.
2023-03-27 20:46:01 +02:00
Raito Bezarius 56fa7ab066 nixos/tests/zfs: add zfsUnstable test for systemd-stage 1 2023-03-27 18:18:59 +02:00
06kellyjac 9b60eef4bd authelia: move module under security and minor fixes
Fixed test access to lib
Added nixos test to passthru
2023-03-27 12:00:07 +01:00
Sandro 8c426b77f5
Merge pull request #222584 from IndeedNotJames/nixos-consul 2023-03-27 01:26:44 +02:00
github-actions[bot] 6a3acb9982
Merge master into staging-next 2023-03-25 06:05:24 +00:00
Nick Cao 851cd65a21
Merge pull request #220776 from Vonfry/deprecated/fcitx4
fcitx: remove version 4
2023-03-25 10:23:06 +08:00
06kellyjac 818e73fc43 nixos/authelia: init tests 2023-03-24 21:23:41 -03:00
github-actions[bot] cead7e3e73
Merge master into staging-next 2023-03-25 00:02:20 +00:00
Martin Weinelt adb0c3560b
nixos/tests/ceph*: Enable on aarch64-linux 2023-03-24 23:50:45 +01:00
Martin Weinelt e56ea3c325
Merge pull request #222701 from jopejoe1/firefox
firefox-{beta,devedition}-unwrapped: init at 112.0b6
2023-03-24 21:34:31 +01:00
jopejoe1 8a5a08373f firefox-beta-unwrapped: init at 112.0b6 2023-03-24 14:18:26 +01:00
jopejoe1 80168addbe firefox-devedition-unwrapped: init at 112.0b6 2023-03-24 14:16:22 +01:00
Vladimír Čunát 12dd95fbb1
Merge branch 'master' into staging-next 2023-03-24 09:07:41 +01:00
Will Fancher 5a9b9e620d
Merge pull request #176828 from therishidesai/luks-multi-key-files
nixos/luksroot: add tryEmptyPassphrase option
2023-03-24 03:02:20 -04:00
github-actions[bot] 705ac3185e
Merge master into staging-next 2023-03-23 06:01:22 +00:00
Nick Cao 72a8c49415
Merge pull request #222311 from NickCao/qt6-vf
qt6.qtbase: add patch to fix handling of variable fonts
2023-03-23 13:33:22 +08:00
Nick Cao 1285c0a09b
Merge pull request #222205 from NickCao/zram-writeback-device
nixos/zram: add writebackDevice option and corresponding test
2023-03-23 13:14:08 +08:00
github-actions[bot] 6a3714135d
Merge master into staging-next 2023-03-23 00:02:14 +00:00
Maximilian Bosch c042a318a7
Merge pull request #222372 from NixOS/nextcloud26
nextcloud26: init at 26.0.0
2023-03-22 23:35:31 +01:00
Maximilian Bosch cbc539c19f nixos/nextcloud: minor fixups
* Apply review comments.
* Default to PHP 8.2 for v26.
2023-03-22 22:37:17 +01:00
Raito Bezarius d7a27b38a2 nixos/tests/nextcloud: do not expect failure on NC ≥26 with respect to RC4 bug 2023-03-22 22:37:16 +01:00
Raito Bezarius 5e5c4c975a nixos/web-apps/nextcloud: introduce nextcloud26 2023-03-22 22:37:13 +01:00
IndeedNotJames c229a6463e
nixos/tests/consul: stop consul cleanly
This should fix the flakyness of the test.

Forcefully killing the consul process can lead to
a broken `/var/lib/consul/node-id` file, which
will prevent consul from starting on that node again.
See https://github.com/hashicorp/consul/issues/3489

So instead of crashing the whole node, which leads to
this corruption from time to time, we kill the
networking instead, preventing any cluster
communication and then cleanly stop consul.
2023-03-22 19:18:34 +01:00
github-actions[bot] 85f7b5276e
Merge master into staging-next 2023-03-22 18:01:11 +00:00
Rishi Desai cccc3f8a8e nixos/luksroot: add tryEmptyPassphrase option 2023-03-22 09:17:23 -05:00
woojiq 296e7f92cd keyd: add keyd service and test
The keyd package already exists, but without a systemd service.

Keyd requires write access to /var/run to create its socket. Currently
the directory it uses can be changed with an environment variable, but
the keyd repo state suggests that this may turn into a compile-time
option. with that set, and some supplementary groups added, we can run
the service under DynamicUser.

Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>
2023-03-22 15:12:29 +01:00
oxalica f4385d6010
nixosTests.noto-fonts-cjk-qt-default-weight: init 2023-03-22 16:26:30 +08:00
github-actions[bot] 797a2b9bcc
Merge master into staging-next 2023-03-21 18:01:07 +00:00
Lassulus 3839340fdb
Merge pull request #220656 from oxzi/restic-cache-fix
nixos/restic: generalize cache configuration
2023-03-22 00:37:46 +07:00
Martin Weinelt ffe3165b27
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- nixos/doc/manual/release-notes/rl-2305.section.md
2023-03-21 12:35:53 +01:00
Nick Cao cd3ffbdfe6
nixos/zram: add writebackDevice option and corresponding test 2023-03-21 09:26:27 +08:00
Nick Cao ed43ad02db
Merge pull request #222228 from erictapen/gollum
gollum: 5.3.0 -> 5.3.1
2023-03-21 09:25:30 +08:00
github-actions[bot] 75c28ec351
Merge master into staging-next 2023-03-20 18:01:16 +00:00
Kerstin Humm 424c98bf78
nixos/gollum: fix deprecation warning 2023-03-20 18:26:48 +01:00
Maximilian Bosch 5c5f710388
gitea: 1.18.5 -> 1.19.0
ChangeLog: https://github.com/go-gitea/gitea/releases/tag/v1.19.0
2023-03-20 14:32:10 +01:00
github-actions[bot] 84c97a9e91
Merge master into staging-next 2023-03-19 18:00:59 +00:00
Sandro Jäckel a5d95ac5fc
nixos/tmp: move /tmp options under boot.tmp 2023-03-19 18:49:37 +01:00
Francesco Gazzetta 0995aea49b
Merge pull request #202995 from tomfitzhenry/sgtpuzzles-test
nixos/tests/sgtpuzzles: init
2023-03-19 14:11:29 +00:00
github-actions[bot] 7c9f4934b8
Merge master into staging-next 2023-03-19 12:01:32 +00:00
Bjørn Forsman 48b0aa7164 nixos/sssd: create symlinks in /etc to fix sssctl
Without this, sssctl fails to read its configuration. Update the NixOS
test to ensure sssctl doesn't regress.
2023-03-19 09:28:35 +01:00
github-actions[bot] 403b148aa5
Merge master into staging-next 2023-03-18 18:01:02 +00:00
Luke Granger-Brown d384095645
Merge pull request #221838 from devusb/pomerium
pomerium: 0.20.0 -> 0.21.2
2023-03-18 17:49:01 +00:00
github-actions[bot] a912b83051
Merge master into staging-next 2023-03-18 12:01:30 +00:00
Morgan Helton 05655e8ad3 pomerium: add test for UI 2023-03-18 06:49:22 -05:00
Fabian Affolter 5f9354962d
Merge pull request #221690 from RaitoBezarius/nerdsnipe-more
maintainer: Add raitobezarius as maintainer of zfs & netdata
2023-03-18 11:29:05 +01:00
Bobby Rong b7650f44b5
Merge pull request #221278 from bobby285271/upd/xfce
Xfce updates
2023-03-18 17:40:50 +08:00
Atemu bd7309c5a3
Merge pull request #221469 from wegank/solr-drop
solr: drop
2023-03-18 10:17:43 +01:00
github-actions[bot] 36748936f9
Merge master into staging-next 2023-03-18 06:01:16 +00:00
Aidan Gauland 7fb4aae81f
nixos/peroxide: add module for peroxide service 2023-03-18 07:43:59 +13:00
Raito Bezarius 6da5fddeb5 netdata: add raitobezarius as a maintainer 2023-03-17 17:27:01 +01:00
github-actions[bot] 6746017444
Merge master into staging-next 2023-03-17 00:02:33 +00:00
Pascal Bach 7c166f412b
Merge pull request #221096 from awakesecurity/minio-paths
nixos/minio: gracefully handle root credentials file
2023-03-16 20:56:37 +01:00
github-actions[bot] 455127ad5e
Merge master into staging-next 2023-03-16 18:01:20 +00:00
Jacek Galowicz 10988b1ff0
Merge pull request #221251 from astro/test-driver
nixos/test-driver: fix allow_reboot
2023-03-16 17:42:27 +01:00
Weijia Wang c24a8ccc98 solr: drop 2023-03-16 16:17:04 +02:00
Astro 64a4ae6f37 nixos/test-driver: remove allow_reboot state from Machine, make it a start() kwarg 2023-03-16 01:50:15 +01:00
Astro f4331c4983 nixos/tests/login: use machine.reboot() for a proper reboot 2023-03-16 01:42:00 +01:00
github-actions[bot] 795332a826
Merge staging-next into staging 2023-03-15 18:01:44 +00:00
Martin Weinelt 578fb7fd1f
Merge pull request #220557 from mweinelt/libxcrypt-strong
libxcrypt: Build only with strong hashes
2023-03-15 16:43:12 +00:00
Vladimír Čunát a86610144f
Merge #219444: staging-next 2023-03-04 2023-03-15 17:35:39 +01:00
Sandro fbeb9b9a96
Merge pull request #215835 from illustris/hbase
nixos/hbase: add thrift and rest servers
2023-03-15 16:55:36 +01:00
Robert Hensing 816b884b5c nixosTests.nixops.unstable.legacyNetwork: Use system.includeBuildDependencies 2023-03-15 13:37:59 +01:00
Bobby Rong 49ca01bf9d
nixosTests.xfce: silence a deprecation warning
trace: warning: Module argument `nodes.machine.config` is deprecated. Use `nodes.machine` instead.
2023-03-15 17:03:35 +08:00
Martin Weinelt 6b67186fe9
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/crownstone-cloud/default.nix
- pkgs/development/python-modules/exrex/default.nix
- pkgs/development/python-modules/mkdocs-minify/default.nix
- pkgs/development/python-modules/myjwt/default.nix
- pkgs/development/tools/analysis/checkov/default.nix
2023-03-14 08:14:26 +01:00
John Soo 29523c05e4
nixosTests/minio: format with nixpkgs-fmt 2023-03-13 18:01:16 -07:00
John Soo 4400f7d72f
nixosTests/minio: make sure editing root credentials restarts minio 2023-03-13 18:00:43 -07:00
Sandro 5e25ffd594
Merge pull request #218843 from teutat3s/garage-0.8.1 2023-03-13 22:23:53 +01:00
teutat3s 78286a06b0
garage: 0.8.0 -> 0.8.1
https://git.deuxfleurs.fr/Deuxfleurs/garage/compare/v0.8.0...v0.8.1

Fix tests by adding cacert

Use garage version 0_8 by default for nixos tests

Use same rust feature set as upstream for release binary and tests:
https://git.deuxfleurs.fr/Deuxfleurs/garage/src/tag/v0.8.1/nix/compile.nix#L181-L192
https://git.deuxfleurs.fr/Deuxfleurs/garage/src/tag/v0.8.1/default.nix#L40-L52
2023-03-13 13:55:36 +01:00
Vonfry f95c20d77d
nixos/fcitx5: init tests 2023-03-13 18:50:05 +08:00
Vonfry 051b74fe7d
nixos/fcitx: deprecated, and suggestions to use fcitx5 instead 2023-03-13 18:47:05 +08:00
Vladimír Čunát 2d51a0e8ad
Merge branch 'master' into staging-next 2023-03-13 08:25:10 +01:00
Martin Weinelt 4472cf44eb
treewide: Make yescrypt the default algorithm for pam_unix.so
This ensures `passwd` will default to yescrypt for newly generated
passwords.
2023-03-13 07:54:27 +01:00
Elis Hirwing ce76a6838c
Merge pull request #203487 from jocelynthode/init-readarr
readarr: init at 0.1.4.1596
2023-03-13 06:56:35 +01:00
Lassulus 47233b27c9
Merge pull request #167319 from schnusch/cgit 2023-03-13 09:51:08 +07:00
Martin Weinelt d03d74aa67
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/aiopulse/default.nix
- pkgs/development/python-modules/identify/default.nix
- pkgs/development/python-modules/spur/default.nix
2023-03-12 23:28:23 +01:00
Jocelyn Thode e7f54823b1
readarr: init at 0.1.4.1596 2023-03-12 20:54:23 +01:00
Guillaume Girol db901673ea
Merge pull request #209156 from pwaller/issue-114594
nixos/grub: Name initrd-secrets by system, not by initrd
2023-03-12 18:50:33 +00:00
Vladimír Čunát 1dd94ad62f
Merge branch 'master' into staging-next 2023-03-12 09:06:28 +01:00
Martin Weinelt 2dbef07f09
Merge pull request #218126 from mweinelt/kea-dhcp-ddns-test
nixos/tests/kea: Test dhcp-ddns against knot
2023-03-11 22:58:53 +00:00
Martin Weinelt 487b6a38f3
nixos/tests/knot: Use more appropriate terminology 2023-03-11 22:23:10 +01:00
Martin Weinelt 1fc6f2c412
nixos/tests/knot: Use automatic-acl and drop explicit acls
This is more in line with expected production usage and if people use
this tests as a reference it should reflect that.
2023-03-11 22:23:10 +01:00
Martin Weinelt 2dc78b7a6d
nixos/tests/kea: Test dhcp-ddns against knot
Tests the propagation of DHCP hostnames into a DNS zone.
2023-03-11 22:23:09 +01:00
github-actions[bot] feb117e32c
Merge master into staging-next 2023-03-11 18:01:19 +00:00