Mario Rodas
4f2c276497
Merge pull request #244093 from adamcstephens/lxd/vm
...
lxd: Add VM image and server support for QEMU VMs
2023-09-03 22:02:54 -05:00
pacien
c6808723b0
nixos/stalwart-mail: add vm test
2023-09-03 22:18:50 -04:00
Adam Stephens
efd1605be6
nixos/lxd: add virtual-machine support, image and module
2023-09-03 20:06:44 -04:00
oluceps
17e386205b
nixos/dae: add basic test
2023-09-03 03:06:52 +08:00
Ivan Mincik
54444b5892
qgis: add nixos tests
...
Add NixOS test for QGIS and QGIS-LTR. This test creates QGIS vector
memory layer containing Nix snowflake. This proves that application can
successfully start and Python bindings are working.
By default, Python script is executed in non-interactive mode and QGIS
is closed after script is finished. This script can be also executed
interactively by running following command:
```
nix-build -A qgis
QGIS_TEST_INTERACTIVE=True ./result/bin/qgis --code pkgs/applications/gis/qgis/test.py
```
In this case, QGIS is not automatically closed.
2023-09-02 17:15:56 +02:00
Florian Klink
90204f058c
Merge pull request #251684 from jmbaur/user-activation-tmpfiles
...
nixos/systemd-user: call systemd-tmpfiles during activation
2023-09-01 21:52:19 +03:00
Martin Weinelt
d17a82f986
Merge pull request #252041 from mweinelt/unbound-exporter
...
prometheus-unbound-exporter: replace at 0.4.4
2023-08-29 21:26:42 +02:00
Jared Baur
e39c9f13bc
nixos/systemd-user: call systemd-tmpfiles during activation
...
Just like with system-wide tmpfiles, call `systemd-tmpfiles --create
--remove` for users during activation. This fixes an issue where new
entries in a user's tmpfiles are not reflected after activation, only at
boot when the user service systemd-tmpfiles-setup.service runs or only
after running systemd-tmpfiles manually.
2023-08-29 10:46:44 -07:00
Martin Weinelt
73c5a5a778
nixos/prometheus/unbound-exporter: update for new package
...
The command line interface changed slightly, but still supports the TCP
as well as the UDS control interface.
2023-08-28 23:21:52 +02:00
Jan Tojnar
434d160d7c
Merge pull request #234615 from linsui/dconf
...
nixos/dconf: support generating from attrs
2023-08-28 18:31:52 +02:00
ajs124
dbb69f82c6
nixos/restic: add wrapper scripts that set parameters for backup
...
and use in test
2023-08-28 15:17:37 +02:00
Pol Dellaiera
df24943cc0
Merge pull request #249765 from NixOS/nixos/modules/honk-init
...
nixos/honk: init
2023-08-28 10:40:23 +02:00
Janne Heß
fd454fe4b6
Merge pull request #250316 from helsinki-systems/feat/stc-improve-mount-units
...
nixos/switch-to-configuration: Improve mount unit handling
2023-08-28 09:18:44 +02:00
Maciej Krüger
311d2fa994
*: migrate to using nftables.tables instead of ruleset directly
2023-08-28 00:30:29 +02:00
Pol Dellaiera
48de649336
nixos/modules/honk: init
2023-08-27 23:43:40 +02:00
Theodore Ni
c68a6a21ca
Merge pull request #247909 from Sigmanificient/ragnarwm
...
ragnarwm: init at 1.3.1
2023-08-27 13:41:04 -07:00
Robert Obryk
13d3b0c733
nixos/security/wrappers: add one regression test for #98863
...
Note that this regression test checks only s[gu]id wrappers. The issue
for capability wrappers is not fixed yet.
2023-08-27 14:10:38 +02:00
Robert Obryk
1bdbc0b0fe
nixos/security/wrappers: stop using .real files
...
Before this change it was crucial that nonprivileged users are unable to
create hardlinks to SUID wrappers, lest they be able to provide a
different `.real` file alongside. That was ensured by not providing a
location writable to them in the /run/wrappers tmpfs, (unless
disabled) by the fs.protected_hardlinks=1 sysctl, and by the explicit
own-path check in the wrapper. After this change, ensuring
that property is no longer important, and the check is most likely
redundant.
The simplification of expectations of the wrapper will make it
easier to remove some of the assertions in the wrapper (which currently
cause the wrapper to fail in no_new_privs environments, instead of
executing the target with non-elevated privileges).
Note that wrappers had to be copied (not symlinked) into /run/wrappers
due to the SUID/capability bits, and they couldn't be hard/softlinks of
each other due to those bits potentially differing. Thus, this change
doesn't increase the amount of memory used by /run/wrappers.
This change removes part of the test that is obsoleted by the removal of
`.real` files.
2023-08-27 14:10:36 +02:00
Maciej Krüger
c3ed95307e
Merge pull request #251413 from karolinschlegel/init-odoo-v15
...
odoo15: init at 15.0-20230720
2023-08-27 14:10:04 +02:00
Robert Obryk
c0e607da61
nixos/tests/wrappers: test apparmor configuration
...
Wrappers generate pieces of apparmor policies for inclusion, which are
used only in a single place in nixpkgs, for `ping`. They are built only
if apparmor is enabled.
This change causes the test to test:
- that the apparmor includes can be generated,
- that `ping` works with apparmor enabled (as the only policy that
references these includes).
Ideally there would be some other NixOS test that verifies that `ping`
specifically works. Sadly, there isn't one.
2023-08-27 14:09:57 +02:00
Karolin Schlegel
4eee509d25
odoo15: init at 15.0-20230720
...
This contribution adds `odoo15` as a fixed version. To allow reusing the
existing test for Odoo, I made the package attribute configurable. To
reference the test for `odoo15` in `passthru` I added it to
`all-tests.nix`.
2023-08-27 09:52:43 +02:00
Ryan Lahfa
72494b65bc
Merge pull request #219873 from r-ryantm/auto-update/dolibarr
2023-08-26 16:23:13 +02:00
Mario Rodas
913c460a8c
Merge pull request #251431 from adamcstephens/lxd/5.17
...
lxd: 5.16 -> 5.17
2023-08-26 09:19:53 -05:00
Adam Stephens
6175a329d2
lxd: fix passthru test building
2023-08-26 08:51:13 -04:00
Raito Bezarius
7207b25099
nixos/tests/dolibarr: use -X GET instead -X POST to test for redirection
...
Previously, we were POST-ing the homepage to test for redirection, this is wrong.
We are supposed to GET-ing it.
This is fixed.
2023-08-26 13:44:19 +02:00
Franz Pletz
da37904672
Merge pull request #246772 from R-VdP/nixos-user-expiry
...
nixos/update-users-groups: add support for account expiry
2023-08-26 02:41:34 +02:00
Franz Pletz
fe907aa37e
Merge pull request #242365 from h7x4/add-mysqld-exporter
...
services/prometheus/exporters: add mysqld
2023-08-25 23:56:22 +02:00
Majiir Paktu
a3211ceb47
nixos/tests/systemd-initrd-bridge: init
2023-08-25 13:11:20 -04:00
Majiir Paktu
1f845ebc34
nixos/tests/systemd-initrd-vlan: init
2023-08-25 10:32:10 -04:00
Ryan Lahfa
4fb9aeae23
Merge pull request #250843 from RaitoBezarius/listmonk
2023-08-24 10:59:58 +02:00
Pierre Bourdon
4428f3a79a
Revert "nixos/security/wrappers: simplifications and a fix for #98863 "
2023-08-24 08:35:11 +02:00
Mario Rodas
8720d96225
Merge pull request #248395 from adamcstephens/lxd/tests
...
nixos/tests/lxd: move into subdir, use minimal init, remove sleeps
2023-08-24 00:37:04 -05:00
Nick Cao
8d524e610b
Merge pull request #249502 from oddlama/feat-influxdb-provision-full
...
nixos/influxdb2: add provisioning and nixos tests
2023-08-24 08:55:38 +08:00
Pierre Bourdon
0930308453
Merge pull request #199599 from robryk/suidwrapnoreal
...
nixos/security/wrappers: simplifications and a fix for #98863
2023-08-24 01:09:36 +02:00
Felix Bühler
fb6665f4de
Merge pull request #250970 from alyssais/virtualbox-test-eval
...
nixosTests.virtualbox: fix eval
2023-08-23 22:02:34 +02:00
Emily
73a060e7ca
Merge pull request #244626 from Sohalt/caddy-rfc42
...
nixos/caddy: Add rfc42 settings option
2023-08-23 20:36:46 +02:00
Benjamin Staffin
5b198578db
Merge pull request #239801 from benley/hddfancontrol
...
hddfancontrol: init at 1.5.1 (plus nixos module)
2023-08-23 13:32:37 -04:00
Benjamin Staffin
12b3178bd2
nixos/hddfancontrol: initial module & test
2023-08-23 13:25:29 -04:00
Raito Bezarius
ffdeabbadf
listmonk: perform tests only linux supported platforms
...
Otherwise, Darwin will try to run them and fail.
2023-08-23 17:50:28 +02:00
Alyssa Ross
42f1b5c6db
nixosTests.os-prober: add bintools to the VM
...
machine # warning: error: unable to download 'https://ftpmirror.gnu.org/bash/bash-5.2.tar.gz ': Couldn't resolve host name (6); retrying in 329 ms
machine # warning: error: unable to download 'https://ftpmirror.gnu.org/bash/bash-5.2.tar.gz ': Couldn't resolve host name (6); retrying in 530 ms
machine # warning: error: unable to download 'https://ftpmirror.gnu.org/bash/bash-5.2.tar.gz ': Couldn't resolve host name (6); retrying in 1066 ms
machine # warning: error: unable to download 'https://ftpmirror.gnu.org/bash/bash-5.2.tar.gz ': Couldn't resolve host name (6); retrying in 2544 ms
machine # [ 1283.199545] GUEST-test1[1465]: [ 414.478221] stage-1-init: [Wed Aug 23 13:26:29 UTC 2023] + loadkmap
machine # error:
machine # … writing file '/nix/store/v28dv6l0qk3j382kp40bksa1v6h7dx9p-bash-5.2.tar.gz'
machine #
machine # error: unable to download 'https://ftpmirror.gnu.org/bash/bash-5.2.tar.gz ': Couldn't resolve host name (6)
machine # error: builder for '/nix/store/5jrd75v747s76s16zxk59384xfcjqn58-bash-5.2.tar.gz.drv' failed with exit code 1
machine # error: 1 dependencies of derivation '/nix/store/0cgj4m2h51hjhmz5h4440pd73kv5lm5v-bash-5.2-p15.drv' failed to build
machine # error: 1 dependencies of derivation '/nix/store/d2x66i0dfv9w81gl1w3nbkn0nz7mawaz-bash-5.2-p15.drv' failed to build
machine # error: 1 dependencies of derivation '/nix/store/lcz1v3h1nsbyz2fp7xkp113jvyjqq0sx-bash-5.2-p15.drv' failed to build
machine # building '/nix/store/20d5pi1a5i9jj041i0gvr9zcs7bjbw46-binutils-2.40.tar.bz2.drv'...
machine # error: 1 dependencies of derivation '/nix/store/zb0ykvcllgc8l9ki38fdv9n8xp3rnphb-gcc-12.3.0.drv' failed to build
machine # error: 1 dependencies of derivation '/nix/store/7kxjnzmc79sickp7hiyp8v169idyw8f2-gettext-0.21.1.drv' failed to build
machine # error: 1 dependencies of derivation '/nix/store/wp7hpglhgwljl3fsfyx8caaakh4a1r72-xgcc-12.3.0.drv' failed to build
machine # error: 1 dependencies of derivation '/nix/store/f7glbcn7n59k22b911bx1vyy13g4bdxh-binutils-2.40.drv' failed to build
machine # error: 1 dependencies of derivation '/nix/store/q7yvprjmnqprx743ikkcz4kqx2mjdas4-binutils-wrapper-2.40.drv' failed to build
machine # building '/nix/store/vks3aqqal1rjvrsbj61nl1yh7r5shhdh-builder.pl.drv'...
machine # error: 1 dependencies of derivation '/nix/store/qmdff14r0l31mzx8al7h1kp9h5pck5wr-extra-utils.drv' failed to build
machine # error: 1 dependencies of derivation '/nix/store/rdlk4188b2jp4ac38w94qazdaxk6sga9-stage-1-init.sh.drv' failed to build
machine # error: 1 dependencies of derivation '/nix/store/rq15acvd6hcr52a5dlmk1p7mlyzjack0-initrd-linux-6.1.46.drv' failed to build
machine # error: 1 dependencies of derivation '/nix/store/h1rch2zqjacijnn0szq2hgwmd6v1r1ld-nixos-system-nixos-23.11pre-git.drv' failed to build
2023-08-23 13:50:44 +00:00
oddlama
8b5b7def91
nixos/influxdb2: add org, bucket, users and auth provisioning
2023-08-23 14:46:52 +02:00
Alyssa Ross
2d66a9db22
nixosTests.virtualbox: fix eval
...
There's no "lib" in scope here. The test uses "with pkgs.lib;", so
this failed to evaluate.
Fixes: 6672dde558 ("treewide: use optionalAttrs instead of 'else {}'")
2023-08-23 12:25:34 +00:00
Raito Bezarius
b4658cada3
listmonk: revamp the tests
...
Previously, the transactional template was in id=2.
It is now id=3.
I moved a bit the code to improve the ability to load templates and subscribers properly.
I am planning to upstream `type` for templates API request so we can easily filter out
and select the accordingly template.
2023-08-23 00:25:47 +02:00
sohalt
c01874615b
nixos/caddy: Add rfc42 settings option
2023-08-22 20:14:35 +02:00
Benjamin Staffin
63e9b2f8c0
Merge pull request #246354 from minijackson/netbox-fixes
...
netbox: 3.5.6 -> 3.5.7 + migration fixes + upgrade NixOS test
2023-08-21 16:22:38 -04:00
Janne Heß
eb831f759b
nixos/stc: Improve mount unit handling
...
We should sometimes restart the units rather than reloading them so the
changes are actually applied. / and /nix are explicitly excluded because
there was some very old issue where these were unmounted. I don't think
this will affect many people since most people use fstab mounts instead
but I plan to adapt this behavior for fstab mounts as well in the future
(once I wrote a test for the fstab thingies).
2023-08-21 09:07:14 +02:00
Sigmanificient
0482394fe0
ragnarwm: init at 1.3.1
2023-08-20 18:20:39 +02:00
Martin Weinelt
7c75694db9
Merge pull request #240982 from rnhmjoj/pr-jool
...
nixos/jool: add service for setting up SIIT/NAT64
2023-08-19 23:32:05 +02:00
Adam Stephens
f1c0589e4c
nixos/tests/lxd: move into subdir, use minimal init, remove sleeps
2023-08-17 21:02:08 -04:00
Manuel Bärenz
bad4b37c7e
Remove turion (myself) as maintainer from some packages
...
I have removed myself as maintainer from those packages that:
* Have at least one other maintainer
* Are outside of my actual expertise,
i.e. I wouldn't really know how to fix them if they broke
2023-08-17 17:20:18 +02:00
Arnout Engelen
46d051737d
Merge pull request #248011 from onny/opensnitch-test
...
nixos/opensnitch: add test
2023-08-17 12:43:42 +02:00
Bobby Rong
888d0bb9fa
Merge pull request #249561 from bobby285271/fix/fail-test-when-coredump
...
nixosTests.pantheon, nixosTests.budgie: Fail the test when coredump happens
2023-08-17 15:33:25 +08:00
Bobby Rong
ba96b6bdaa
nixosTests.budgie: Re-add checks for budgie-wm
...
This is the shell of the desktop, it is still a good idea to do something with it.
2023-08-16 23:33:52 +08:00
Bobby Rong
d86dc7c016
nixosTests.pantheon: Ensure the test fails when gala coredumps
...
It can be possible that pgrep failed to catch this. See the GNOME 45 PR.
2023-08-16 23:20:38 +08:00
Maciej Krüger
56700d64b1
Merge pull request #226821 from enc0urage/memtest
2023-08-16 15:31:32 +02:00
Nick Cao
2dadab4889
Merge pull request #249211 from oddlama/feat-influxdb-provision
...
nixos/influxdb2: automatic initial setup and nixos tests
2023-08-16 21:29:16 +08:00
oddlama
b4d718f14a
nixos/influxdb2: add initial setup automation and nixos tests
2023-08-16 14:31:49 +02:00
Janne Heß
bc9b484db8
Merge pull request #232230 from oddlama/fix-activation-template-unit-specializations
...
Fix detection of changed template unit specializations in switch-to-configuration.pl
2023-08-16 13:46:45 +02:00
Robert Obryk
46c9aed62b
nixos/security/wrappers: add one regression test for #98863
...
Note that this regression test checks only s[gu]id wrappers. The issue
for capability wrappers is not fixed yet.
2023-08-16 11:33:22 +02:00
WilliButz
da5c3bde30
Merge pull request #248405 from fpletz/pkgs/mediamtx-1.0.0
...
mediamtx: 0.23.8 -> 1.0.0, refactor module, add test
2023-08-16 11:30:18 +02:00
Robert Obryk
77bc27ccdb
nixos/backups/restic: handle cases when both dynamicFileFrom and paths are set
...
Also, add a test to verify that it works.
This change also removes the part of custom package test that verifies
that the correct paths are provided. This is already tested by restore
tests.
Before this change, setting both paths and dynamicFileFrom would cause
paths to be silently ignored. Making that actually apply the obvious
interpretation seems to me to be strictly better than prohibiting the
two from being set at the same time.
2023-08-16 11:25:15 +02:00
Nikolay Korotkiy
6f46c37d92
nixosTests.agate: switch to using gemget
2023-08-16 01:26:54 +04:00
Maximilian Bosch
2b42b842ed
nixos/prometheus-exporters: fix smartctl test
2023-08-15 15:44:45 +02:00
linsui
038d78d4ce
nixos/dconf: add locks support
2023-08-15 19:20:39 +08:00
Nick Cao
fecb8c7752
nixosTests.fcitx5: make use of the newly added settings option
2023-08-15 08:36:07 +08:00
Maximilian Bosch
a471325eaf
Merge pull request #221318 from mweinelt/synapse-extras
...
nixos/matrix-synapse: Allow passing extras, discover extras from config
2023-08-14 18:43:05 +02:00
Robert Hensing
8fe5918d06
Merge pull request #248138 from hercules-ci/update-nixops_unstable
...
nixops_unstable: update
2023-08-14 11:00:44 +02:00
enc0urage
00d7065913
nixos/systemd-boot: Replace proprietary memtest86 with free memtest86+ in UEFI
2023-08-14 03:05:24 +00:00
h7x4
66de20bc45
tests/prometheus-exporters: add test for mysqld exporter
2023-08-13 19:47:19 +02:00
Jonas Heinrich
5e6e949e84
nixos/opensnitch: add test
2023-08-13 17:49:19 +02:00
Fugi
5e75b36302
nixos/prometheus-sabnzbd-exporter: init
2023-08-13 16:31:52 +02:00
Janne Heß
7937c5816d
nixos/switchTest: Also check for base unit modifications
2023-08-13 14:25:24 +02:00
Franz Pletz
4fc07e7b48
nixos/tests/mediamtx: init
2023-08-10 20:43:26 +02:00
Ryan Lahfa
ec409e6f79
Merge pull request #231673 from symphorien/suid_wrappers_userns
2023-08-10 11:52:59 +02:00
Franz Pletz
6574d90239
Merge pull request #248154 from onny/nextcloud-tests-fix
...
nixos/tests/nextcloud: Fix deprecation warning
2023-08-10 04:18:27 +02:00
Franz Pletz
50e7a02e67
nixos/chrony: add simple test
2023-08-10 03:04:04 +02:00
Franz Pletz
8e372c19d1
Merge pull request #245286 from codec/add-prometheus-idrac-exporter
...
prometheus-idrac-exporter: init at unstable-2023-06-29
2023-08-10 00:58:03 +02:00
Jonas Heinrich
14f7b1161d
nixos/tests/nextcloud: Fix deprecation warning
2023-08-09 16:57:57 +02:00
Robert Hensing
4b51c5360f
nixops_unstable: Fix tests attribute
...
The .overrideAttrs part is ok now, but a "passthru' workaround is
necessary now. See https://github.com/NixOS/nixpkgs/pull/247520
2023-08-09 15:47:13 +02:00
Franz Pletz
dcafb07ed8
Merge pull request #232250 from YBeaugnon/libvirt-hooks
...
nixos/libvirtd: hooks support
2023-08-09 15:07:52 +02:00
Guillaume Girol
0e4b8a05b2
nixos/wrappers: allow setuid and setgid wrappers to run in user namespaces
...
In user namespaces where an unprivileged user is mapped as root and root
is unmapped, setuid bits have no effect. However setuid root
executables like mount are still usable *in the namespace* as the user
already has the required privileges. This commit detects the situation
where the wrapper gained no privileges that the parent process did not
already have and in this case does less sanity checking. In short there
is no need to be picky since the parent already can execute the foo.real
executable themselves.
Details:
man 7 user_namespaces:
Set-user-ID and set-group-ID programs
When a process inside a user namespace executes a set-user-ID
(set-group-ID) program, the process's effective user (group) ID
inside the namespace is changed to whatever value is mapped for
the user (group) ID of the file. However, if either the user or
the group ID of the file has no mapping inside the namespace, the
set-user-ID (set-group-ID) bit is silently ignored: the new
program is executed, but the process's effective user (group) ID
is left unchanged. (This mirrors the semantics of executing a
set-user-ID or set-group-ID program that resides on a filesystem
that was mounted with the MS_NOSUID flag, as described in
mount(2).)
The effect of the setuid bit is that the real user id is preserved and
the effective and set user ids are changed to the owner of the wrapper.
We detect that no privilege was gained by checking that euid == suid
== ruid. In this case we stop checking that euid == owner of the
wrapper file.
As a reminder here are the values of euid, ruid, suid, stat.st_uid and
stat.st_mode & S_ISUID in various cases when running a setuid 42 executable as user 1000:
Normal case:
ruid=1000 euid=42 suid=42
setuid=2048, st_uid=42
nosuid mount:
ruid=1000 euid=1000 suid=1000
setuid=2048, st_uid=42
inside unshare -rm:
ruid=0 euid=0 suid=0
setuid=2048, st_uid=65534
inside unshare -rm, on a suid mount:
ruid=0 euid=0 suid=0
setuid=2048, st_uid=65534
2023-08-09 12:00:00 +00:00
Robert Hensing
bc9d2d6a7c
Merge pull request #247520 from Atemu/fix/kernel-passthru.tests
...
kernel: fix passthru.tests
2023-08-08 21:29:19 +02:00
Michele Guerini Rocco
ccc33bd3d7
Merge pull request #245852 from rnhmjoj/pr-fix-dnscrypt
...
dnscrypt-wrapper fixes
2023-08-08 10:34:27 +02:00
Franz Pletz
9640eb3970
Merge pull request #246029 from ehmry/eris-go
2023-08-08 06:18:03 +02:00
Franz Pletz
7fdf825d82
Merge pull request #247823 from emilylange/caddy
2023-08-08 05:57:37 +02:00
emilylange
efdcf6b96c
nixosTests.caddy: remove etag subtest
...
Caddy 2.7.x does no longer return etags for files with unix modtimes of
0 and 1.
Files in /nix/store have a modtime of 1.
This is something that has been specifically implemented for nix.
For now, we decided to remove the test.
But I might reimplement a similar etag subtest some time in the future.
2023-08-07 23:47:07 +02:00
Wout Mertens
ea07a9a98e
Merge pull request #247319 from DDoSolitary/patch-netdata-ipc
...
netdata: set NETDATA_PIPENAME to /run/netdata/ipc
2023-08-07 08:27:29 +02:00
emilylange
02601e17a5
nixosTests.forgejo: fork from nixosTests.gitea
2023-08-06 18:41:37 +02:00
Atemu
a0dcabb690
kernel: fix passthru.tests
...
https://github.com/NixOS/nixpkgs/pull/191540 indirectly broke kernel
passthru.tests; calling the testsForLinuxPackages and testsForKernel functions
with some args intended for some other exposed test-internal function.
Organise the passed-through functions under `passthru` to prevent this from
happening.
2023-08-06 15:47:54 +02:00
Atemu
6229f0bc8f
all-tests: exclude passthru attributes from test discovery
...
discoverTests tries to discover some sort of internal function and tries to call
it with the arguments for that internal function. This poses an issue when you
want to expose some other functions (i.e. a parameterisation for a test) in
nixosTests.
This commit allows a test to pass through arbitrary values via `.passthru`
without them having discovery applied to them; including functions.
2023-08-06 15:40:10 +02:00
Gregor Godbersen
540a20546a
nixos/paperless: add test for plaintext document
2023-08-05 22:06:27 +02:00
DDoSolitary
060a47e1e4
netdata: set NETDATA_PIPENAME to /run/netdata/ipc
...
Netdata creates its control socket at /tmp/netdata-ipc by default, which
is insecure and actually inaccessible with systemd's PrivateTmp enabled.
Originally we patched its source code to move the socket to
/run/netdata/ipc. However, it was removed due to incompatibility when
upgrading to v1.41.0: 1d2a2dc7d0
Fortunately, this new version of netdata adds support for setting the
location of the control socket via the environment variable
NETDATA_PIPENAME. So let's set it for the netdata service and the
command line utility so that they can communicate properly.
2023-08-05 18:19:08 +08:00
Martin Weinelt
3d36620b0e
Merge pull request #247109 from helsinki-systems/fix/networking-test
...
nixos/tests/networking: dhcpd -> kea
2023-08-04 16:48:45 +02:00
ajs124
1690adc424
nixos/tests/networking/caseSensitiveRenaming: fix bash syntax
...
was introduced broken in 93502aa3b1
2023-08-04 14:38:08 +02:00
ajs124
799a69971e
nixos/tests/networking: dhcpd -> kea
...
forgotten in 413d9d3864
2023-08-04 14:23:09 +02:00
ajs124
bf4d2e6c1e
Merge pull request #242538 from tnias/fix/apparmor
...
apparmor: add some policies and improve abstractions and utils
2023-08-04 13:05:52 +02:00
codec
47db2bfffb
prometheus-idrac-exporter: init at unstable-2023-06-29
2023-08-04 00:57:19 +02:00
Bobby Rong
58a421640c
Merge pull request #246743 from bobby285271/fix/wait-for-x
...
nixos/tests/{budgie,gnome-flashback}: unbreak
2023-08-03 10:37:45 +08:00
Bobby Rong
0c3697f511
nixos/tests/gnome-flashback: skip graphical-session.target check
...
https://hydra.nixos.org/build/230009507/log
Also silence warning: Module argument `nodes.machine.config` is deprecated. Use `nodes.machine` instead.
2023-08-03 09:52:12 +08:00
Bobby Rong
0ec48ee059
nixos/tests/budgie: skip graphical-session.target check
...
https://hydra.nixos.org/build/230010129/log
2023-08-03 09:52:11 +08:00
Martin Weinelt
a98ba7fdae
Merge pull request #246564 from erictapen/kanidm
...
kanidm: 1.1.0-alpha.12 -> 1.1.0-beta.13
2023-08-02 22:51:18 +02:00
r-vdp
127e2ed645
nixos/update-users-groups: add nixos test for the expires option
2023-08-02 13:51:06 +02:00
Nick Cao
c1e1fe0068
Merge pull request #246533 from wineee/terminal-emulators
...
deepin-terminal: enable nixosTests.terminal-emulators
2023-08-01 18:27:28 -06:00
Nick Cao
33b6f8b63d
Merge pull request #246493 from NickCao/singbox
...
sing-box: 1.3.4 -> 1.3.5
2023-08-01 18:22:25 -06:00
Maximilian Bosch
1b623f27b0
Merge pull request #245357 from onny/nextcloud-fix-test
...
nixos/tests/nextcloud: Fix tests, fix broken webdav url
2023-08-01 18:14:13 +02:00
Martin Weinelt
184d15cc06
kanidm: 1.1.0-alpha.12 -> 1.1.0-beta.13
...
https://github.com/kanidm/kanidm/releases/tag/v1.1.0-beta.13
The kanidmd process now creates a unix socket, over which admin tasks
can be done, without having to shut kanidm down first.
The kanidm_unixd process now wants access to /etc/shadow and /etc/group,
so it can rule out collisions with the host system.
2023-08-01 17:13:58 +02:00
Minijackson
de8086be4f
nixos/tests/netbox-upgrade: init
...
Test that the upgrade from NetBox 3.3 to NetBox 3.5 runs fine
2023-08-01 14:45:01 +02:00
h7x4
fd01b3f59c
nixos/atuin: fix database.createLocally behaviour
...
Co-authored-by: Andrew Marshall <andrew@johnandrewmarshall.com>
2023-08-01 18:17:37 +08:00
Anderson Torres
871bf7c875
nixos/tests/systemd-initrd-networkd-ssh.nix: remove overuses of with
2023-08-01 10:12:12 +00:00
Anderson Torres
2dd9923c8a
nixos/tests/sftpgo.nix: remove overuses of with
2023-08-01 10:12:12 +00:00
Anderson Torres
c5ffb694d9
nixos/tests/osquery.nix: remove overuses of with
2023-08-01 10:12:12 +00:00
Anderson Torres
62f6f01085
nixos/tests/initrd-network-ssh/default.nix: remove overuses of with
2023-08-01 10:12:12 +00:00
Anderson Torres
c532a4f227
nixos/tests/deepin.nix: remove overuses of with
2023-08-01 10:12:12 +00:00
Anderson Torres
eb03402e28
nixos/tests/buildkite-agents.nix: remove overuses of with
2023-08-01 10:12:12 +00:00
Anderson Torres
a282d36592
nixos/tests/binary-cache.nix: remove overuses of with
2023-08-01 10:12:12 +00:00
rewine
6fbb653d0e
nixosTests.terminal-emulators: deprecated machine' attribute by nodes.machine'
2023-08-01 18:01:18 +08:00
rewine
9278b39e90
deepin-terminal: enable nixosTests.terminal-emulators
2023-08-01 17:49:39 +08:00
Jonas Heinrich
b0ba7d2406
nixos/tests/nextcloud: Fix broken webdav url
...
Starting with Rclone v1.63, which is used in the Nextcloud tests for
synchronization, the client relies on the correct WebDAV endpoint url,
see https://github.com/rclone/rclone/issues/7103
2023-08-01 09:11:27 +02:00
Nick Cao
9d8828915b
sing-box: 1.3.4 -> 1.3.5
...
Diff: https://github.com/SagerNet/sing-box/compare/v1.3.4...v1.3.5
2023-08-01 13:01:54 +08:00
Florian Klink
a2a7096157
Merge pull request #246082 from ElvishJerricco/exitrd-fix-shutdown-loop
...
systemd shutdownRamfs: Fix infinite shutdown loop
2023-07-30 00:11:55 +02:00
Florian Klink
0546c70849
Merge pull request #246084 from ElvishJerricco/simplify-hibernate-test
...
Simplify hibernate test
2023-07-30 00:10:19 +02:00
Ryan Lahfa
899b60de3f
Merge pull request #245893 from h7x4/move-nginx-status-page-declaration
2023-07-29 20:22:58 +02:00
Will Fancher
a923cc53e7
nixos/tests/hibernate: Simplify and always set resumeDevice
2023-07-29 14:21:28 -04:00
Will Fancher
4ecd0c119a
systemd shutdownRamfs: Fix infinite shutdown loop
2023-07-29 13:52:52 -04:00
Emery Hemingway
354821c1e8
nixos/eris-server: init
2023-07-29 11:56:58 +01:00
h7x4
ecb40c69d8
nixos/nginx: sort test include order alphabetically
2023-07-28 20:30:43 +02:00
h7x4
25b7b82ee0
nixos/nginx: add test for status page
2023-07-28 20:29:09 +02:00
Emily
d7937ece5b
Merge pull request #228815 from mweinelt/gitea-runner-test
...
nixos/tests/gitea: Tests actions runner registration
2023-07-28 19:58:45 +02:00
Martin Weinelt
e68f793041
nixos/tests/gitea: Test actions runner registration
2023-07-28 19:51:41 +02:00
Ryan Lahfa
2a0aaa7e8f
Merge pull request #245413 from oddlama/fix-hostapd-mac-allow
2023-07-28 19:19:02 +02:00
Ryan Lahfa
3ac8c61e9d
Merge pull request #244883 from LibreCybernetics/linux_6_3_eol
2023-07-28 18:40:03 +02:00
ajs124
8d34cf8e7d
Merge pull request #245734 from helsinki-systems/upd/jenkins
...
jenkins: 2.401.2 -> 2.401.3
2023-07-28 16:34:57 +02:00
rnhmjoj
0bd475c296
nixos/tests/dnscrypt-wrapper: fix flakyness
2023-07-28 11:59:36 +02:00
Eric Wolf
318d8cc4c5
nixos/lemmy: limit impurity by secrets
...
Split `services.lemmy.secretFile` into
multiple options to allow only secrets.
2023-07-28 07:49:27 +00:00
ajs124
1d64486ba7
nixos/tests/jenkins: fix deprecation warning
2023-07-27 15:18:11 +02:00
nikstur
87ecda9a21
nixos/tests/appliance-repart-image: init
2023-07-26 23:33:33 +02:00
nikstur
e6862fae8f
nixos/tests/systemd-sysupdate: init
2023-07-26 20:33:33 +02:00
nikstur
5750660f25
nixos/tests: use sensible key type for gpg keyring
...
If someone blindly copies this code, at least they have a sensible key
type.
2023-07-26 20:32:51 +02:00
nikstur
7e522a81ef
nixos/tests: refactor gpg-keyring test utility
2023-07-26 20:32:51 +02:00
oddlama
0ac2ba763f
nixos/hostapd: fix regression after refactoring to RFC42.
...
Switching from submodule notation from ({name, ...}: {}) to (submob: {}) seems to require a different accessing scheme.
2023-07-25 18:40:51 +02:00
asymmetric
46df012d2a
Merge pull request #244332 from SuperSandro2000/fonts-fonts
...
nixos/fonts: rename fonts.fonts option to fonts.packages, other cleanups
2023-07-25 09:49:25 +02:00
Sandro Jäckel
83793ca898
nixos/fonts: rename fonts.enableDefaultFonts to fonts.enableDefaultPackages
...
to better fit the renamed fonts.packages
2023-07-25 00:55:25 +02:00
Jacek Galowicz
f59913bad8
Merge pull request #241949 from R-VdP/nixos_test_busybox
...
nixos/test-driver: use the short form argument to base64 for busybox compatibility.
2023-07-24 18:05:06 +02:00
Sandro Jäckel
b0c67b4b6e
treewide: rename fonts.fonts to fonts.packages
2023-07-24 17:34:39 +02:00
github-actions[bot]
aae1f8ef06
Merge master into staging-next
2023-07-24 06:01:13 +00:00
Nick Cao
e598d5b773
Merge pull request #244953 from tomfitzhenry/less-maintainership
...
remove tomfitzhenry@ as maintainer for some packages
2023-07-23 18:57:35 -06:00
github-actions[bot]
449a683b10
Merge master into staging-next
2023-07-24 00:02:26 +00:00
Ryan Lahfa
bba6788b37
Merge pull request #244702 from RaitoBezarius/nginx-maintenance
2023-07-23 23:53:17 +02:00
github-actions[bot]
6afe543aec
Merge master into staging-next
2023-07-23 18:01:33 +00:00
7c6f434c
b02fd49f16
Merge pull request #194310 from lilyinstarlight/pkg/curl-impersonate
...
curl-impersonate: init at 0.5.4 and replace curl-impersonate-bin
2023-07-23 17:00:17 +00:00
oddlama
d073105d6b
nixos/switch-to-configuration: fix ignoring of template unit specialization dropins
2023-07-23 13:16:58 +02:00
Tom Fitzhenry
cb470d61c3
remove tomfitzhenry@ as maintainer for some packages
...
Motivation: Over the foreseeable future I'll have less time to do
maintenance, so I'm reducing the set of packages I maintain to just
those that I use.
2023-07-23 12:39:57 +10:00
github-actions[bot]
86a73bdb86
Merge master into staging-next
2023-07-23 00:02:31 +00:00
Ilan Joselevich
e29e8a71c8
nixos/twingate: improve test
2023-07-23 01:24:51 +03:00
Fabián Heredia Montiel
ffba10cd9a
linux_6_3: drop as EOL
2023-07-22 12:46:17 -06:00
github-actions[bot]
41e6556ad3
Merge master into staging-next
2023-07-22 18:01:06 +00:00
Ryan Lahfa
c4ae17443e
Merge pull request #244233 from oddlama/init-typesense-bin
2023-07-22 18:47:45 +02:00
oddlama
234dd85da0
nixos/typesense: init at 0.24.1
2023-07-22 16:38:13 +02:00
github-actions[bot]
045f0259fe
Merge master into staging-next
2023-07-22 12:01:28 +00:00
1000101
f63d863fde
nixos/pgbouncer: init ( #241578 )
...
Co-authored-by: Marek Mahut <marek.mahut@gmail.com>
2023-07-22 12:49:23 +02:00
github-actions[bot]
c05c2c2f5c
Merge master into staging-next
2023-07-22 00:02:13 +00:00
Lassulus
f8ad4849c3
Merge pull request #233386 from Lassulus/syncthing-fix
2023-07-22 01:02:04 +02:00
Raito Bezarius
72cfcbebd6
nixos/tests/nginx-proxyprotocol: add raitobezarius as a maintainer
...
I added this feature, I will maintain it.
2023-07-21 21:13:28 +02:00
Lily Foster
e28c49d86d
nixosTests.curl-impersonate: init
2023-07-21 14:37:48 -04:00
github-actions[bot]
a400aea596
Merge master into staging-next
2023-07-21 12:01:17 +00:00
Maximilian Bosch
38823d15f4
Merge pull request #243883 from techknowlogick/gitea-1200
...
gitea: 1.19.4 -> 1.20.0
2023-07-21 09:41:07 +02:00
K900
f58e6874f3
nixos/tests/installer: fix after #244449
2023-07-21 10:36:29 +03:00
rnhmjoj
48a4a6bc5f
nixos/tests/jool: init
2023-07-21 09:07:54 +02:00
github-actions[bot]
da1f279ece
Merge master into staging-next
2023-07-20 18:01:17 +00:00
Felix Bühler
f7bb884c13
Merge pull request #243850 from mattchrist/nixos/freshrss_auth_type
...
nixos/freshrss: authType option
2023-07-20 18:58:45 +02:00
github-actions[bot]
37df58121d
Merge master into staging-next
2023-07-20 12:01:16 +00:00
Matt Christ
c4d28ff161
nixos/freshrss: authType option
...
This patch adds an `authType` option to enable configuring FreshRSS's
`auth_type` parameter.
Upstream documentation for this feature is located here:
https://freshrss.github.io/FreshRSS/en/admins/09_AccessControl.html
An accompanying NixOS test is provided to confirm this feature works
as expected.
2023-07-19 19:43:55 -05:00
Antoine Eiche
8dff9f64ec
nixos/tests/osquery: init
2023-07-19 16:57:05 +02:00
github-actions[bot]
b110c513b2
Merge master into staging-next
2023-07-19 12:01:12 +00:00
Michele Guerini Rocco
dfcc258054
Merge pull request #244174 from rnhmjoj/pr-fix-extra-layouts
...
xorg.xkeyboardconfig_custom: update for 2.39
2023-07-19 08:13:13 +02:00
github-actions[bot]
acbec64db0
Merge master into staging-next
2023-07-18 18:01:26 +00:00
Martin Weinelt
549bc4bc66
nixos/tests/matrix-synapse: Test redis on postgres instance
...
This requires the module to pick up on the redis configuration, and add
the required extra packages for redis into the wrapper.
2023-07-18 17:53:29 +02:00
rnhmjoj
e4ab8a7d1e
nixos/tests/keymap: add custom layouts test
2023-07-18 17:07:19 +02:00
Robert Hensing
8ad59ed1b2
Merge pull request #242098 from hercules-ci/nixos-no-nix-channel
...
nixos: Disable nix-channel
2023-07-18 15:27:24 +02:00
Robert Hensing
9d70dfd612
nixos/tests/nixos-test-driver/busybox: Improve name
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-07-18 15:08:31 +02:00
github-actions[bot]
1e4fbbcda3
Merge master into staging-next
2023-07-18 12:01:37 +00:00
Sandro
065fd18e5c
Merge pull request #240452 from NickCao/bpftune
2023-07-18 12:43:02 +02:00
Nick Cao
3f751bfdf6
nixos/bpftune: drop flaky tests
2023-07-18 16:58:37 +08:00
Vladimír Čunát
8b0f52c6ae
Merge branch 'staging' into staging-next
2023-07-18 07:06:15 +02:00
Vladimír Čunát
9f6bb855c2
Merge #244006 : linux_rt_5_4: fix build
2023-07-17 22:00:59 +02:00
github-actions[bot]
8717af0ce1
Merge staging-next into staging
2023-07-17 18:01:56 +00:00
Emily
00a7b91eac
Merge pull request #243366 from vamega/sambda-wsdd-firewall-config
...
nixos/samba-wsdd: add openFirewall option
2023-07-17 19:21:58 +02:00
Maximilian Bosch
10ff0a076b
nixos/tests/kernel-generic: also expose rt kernels and linux_libre
2023-07-17 18:47:01 +02:00
Varun Madiath
d237a7318c
nixos/samba-wsdd: add openFirewall option
2023-07-17 10:22:43 -04:00
Maximilian Bosch
b8a8e973b0
nixos/tests/gitea: fix
...
* Since Gitea 1.20 the request to `/commits` requires at least one retry
because it appears to take a moment until Gitea actually knows that
this repo isn't empty anymore (previously on 1.20 this failed with
HTTP 409 which occurs when the requested repo is empty).
* Remove `*.shutdown()`, for some reason they hang regularly for unknown
reasons.
2023-07-17 11:59:35 +02:00
Nick Cao
4cd70e125d
nixos/bpftune: init basic test
2023-07-17 15:59:50 +08:00
github-actions[bot]
5b36eb4172
Merge staging-next into staging
2023-07-17 00:03:32 +00:00
Otavio Salvador
0a93242075
rio: add nixosTests support using terminal-emulators existing set
...
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2023-07-16 20:20:04 -03:00
Jan Tojnar
cea188cbbb
Merge branch 'staging-next' into staging
...
Conflicts:
- pkgs/tools/networking/shadowfox/default.nix between e989daa65f and 1c29673fcc
- pkgs/tools/networking/wuzz/default.nix between 7d80417710 and 1c29673fcc
2023-07-16 02:20:49 +02:00
pennae
45ae0efbbc
Merge pull request #243271 from woojiq/keyd-support-multiple-configs
...
nixos/keyd: add support for multiple configuration in different files
2023-07-15 13:59:57 +02:00
woojiq
2d3bf20086
nixos/keyd: add support for multi-file configuration
...
Add `keyboards` option to define different configurations for different IDs. This creates the appropriate files in `/etc/keyd` instead of just `default.conf` as before.
Add `23.11` release note entry.
Add `mkRemovedOptionModule` for the old API with a note on how to revert the old behavior.
2023-07-15 11:33:41 +03:00
github-actions[bot]
8c2cf79031
Merge staging-next into staging
2023-07-14 18:02:05 +00:00
Sandro
01f286cb66
Merge pull request #242946 from LibreCybernetics/linux_6_4_hardened-init
...
linux/hardened/patches/6.4: init at 6.4.3-hardened1
2023-07-14 18:04:49 +02:00
github-actions[bot]
972652b656
Merge staging-next into staging
2023-07-14 12:02:21 +00:00
Sandro
9e010edec7
Merge pull request #243102 from yu-re-ka/peering-manager-meta
2023-07-14 12:08:05 +02:00
Pol Dellaiera
641b814a44
Merge pull request #243094 from jnsgruk/homepage
...
homepage: init at 0.6.21
2023-07-14 09:53:26 +02:00
github-actions[bot]
c796e255b3
Merge staging-next into staging
2023-07-14 00:03:13 +00:00
Janik
91bd44ef44
Merge pull request #228581 from dtzitzon/dtz/k3s
2023-07-13 23:09:21 +02:00
Will Fancher
11fec97761
Merge pull request #183314 from DeterminateSystems/optional-swraid
...
Make swraid optional
2023-07-13 16:24:34 -04:00
Jan Tojnar
72bec397fa
Merge pull request #243217 from jtojnar/upower
...
upower: 1.90.0 → 1.90.2
2023-07-13 21:15:39 +02:00
Jan Tojnar
d08e84b3be
upower: Add installed tests
2023-07-13 19:12:22 +02:00
Philipp Bartsch
30ad9053ab
nixos/murmur: add apparmor policy
2023-07-13 11:11:01 +02:00
Philipp Bartsch
ced170c030
nixos/miniflux: add apparmor policy
...
This change also extends the test to ensure that normal operations
aren't denied.
2023-07-13 11:10:39 +02:00
Jon Seager
f94b38be98
tests/homepage-dashboard: add tests for homepage
2023-07-13 09:38:27 +01:00
Yureka
cc59ede272
nixos/tests/peering-manager: fix 'nodes.machine.config' eval warning
2023-07-12 19:05:41 +02:00
Felix Buehler
bec27fabee
treewide: use lib.optional instead of 'then []'
2023-07-12 09:36:28 +01:00
Fabián Heredia Montiel
ad38070be8
linux/hardened/patches/6.4: init at 6.4.3-hardened1
2023-07-11 16:53:08 -06:00
nikstur
ae55861ec2
nixos/tests: add myself to maintainers of erofs test
2023-07-10 22:02:36 +02:00
nikstur
0f9bf615a4
nixos/tests: add squashfs test
2023-07-10 22:02:36 +02:00
Linus Heckemann
c0f963a338
boot.initrd.services.swraid -> boot.swraid
...
Since the option affects both stage-1 and stage-2, it does not make
sense to keep it within the boot.initrd namespace.
2023-07-10 20:20:08 +02:00
Linus Heckemann
0b277bcc2b
nixos/swraid: make entire module optional
...
swraid support will now only be enabled by default if stateVersion is
older than 23.11. nixos-generate-config will now generate explicit
config for enabling support if needed.
2023-07-10 16:39:35 +02:00
Demitri Tzitzon
d629ca54b2
k3s: symlinks for kubectl crictl & ctr
2023-07-09 20:40:36 +02:00
K900
2fc57ae670
nixos/tests: adjust everything I missed for sddm update
...
Also clean up a few warnings while we're at it.
2023-07-09 18:49:28 +03:00
Robert Hensing
a1d0ee8c50
nixos/nix-channel: Apply suggestions from code review
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-07-08 20:49:37 +02:00
Robert Hensing
3fd4ac8e82
Merge pull request #237040 from roberth/flexible-activation
...
nixos/system: Support pre-activated images
2023-07-08 16:06:25 +02:00
Ryan Lahfa
7be83143e8
Merge pull request #222536 from oddlama/master
2023-07-08 14:36:18 +02:00
Ryan Lahfa
49413e25e0
Merge pull request #241314 from jnsgruk/master
2023-07-08 13:58:20 +02:00
K900
400aafbdc9
Merge pull request #239389 from K900/sddm-0.20.0
...
sddm: 0.19.0 -> 0.20.0
2023-07-08 11:52:02 +03:00
adisbladis
8062626e0e
lemmy-{server,ui}: 0.18.0 -> 0.18.1
2023-07-08 13:59:30 +12:00
Robert Hensing
61afc4d166
nixos/nix-channel: Take care of NIX_PATH's non-empty default when disabled
2023-07-07 23:12:39 +02:00
Janik
e46ab54b68
Merge pull request #241783 from gmemstr/n8n-tweaks
2023-07-07 23:04:48 +02:00
Jon Seager
21e36654c8
nixos/tests/lxd-ui: init lxd-ui tests
2023-07-07 18:31:04 +01:00
Ilan Joselevich
160edcf2c5
nixos/twingate: add package option and test
2023-07-07 20:03:54 +03:00
Robert Hensing
d00e242b80
nixos: Add nixos.channel.enable
...
For those who wish to get rid of nix-channel.
2023-07-07 19:00:06 +02:00
Robert Hensing
faa1b3babc
nixosTests.installer: Fix driverInteractive
2023-07-07 19:00:05 +02:00
Robert Hensing
218ef2f405
nixosTests.installer: Make sure we boot into the config we generated
2023-07-07 19:00:05 +02:00
Gabriel Simmer
4656163a04
nixos/n8n: add test for webhookUrl configuration
2023-07-07 16:20:03 +01:00
K900
c0132f22e9
sddm: 0.19.0 -> 0.20.0
2023-07-07 12:46:59 +03:00
r-vdp
c05483d274
nixos/test-driver: add a test for #241938 .
2023-07-07 10:58:13 +02:00
Martin Weinelt
048b14d40f
nixos/tests: Fix delegated prefix in prefix-delegation test
...
Prefix/pool validation since kea 2.4.0 is now complaining about
overlapping and not properly aligned prefix lengths.
2023-07-06 22:49:06 +02:00
Jan Tojnar
6bbcd65c44
gedit: Move out of GNOME
...
It has been moved out of GNOME core in favour of gnome-text-editor.
And it is not much of a GNOME app anymore either, using custom gtksourceview fork.
2023-07-05 14:56:27 +02:00
Emily
3a79936b45
Merge pull request #217536 from sephii/caddy-reload
...
nixos/caddy: add support for reload
2023-07-04 22:57:24 +02:00
Martin Weinelt
06f0af1f0a
firefox-esr-115-unwrapped: init at 115.0esr
...
The next major version of the Firefox Extended Support Release.
https://www.mozilla.org/en-US/firefox/115.0/releasenotes/
https://www.mozilla.org/en-US/security/advisories/mfsa2023-22/
Fixes: CVE-2023-3482, CVE-2023-37201, CVE-2023-37202, CVE-2023-37203
CVE-2023-37204, CVE-2023-37205, CVE-2023-37206, CVE-2023-37207,
CVE-2023-37208, CVE-2023-37209, CVE-2023-37210, CVE-2023-37211,
CVE-2023-37211, CVE-2023-37212
2023-07-04 16:07:25 +02:00
Sylvain Fankhauser
1f0ac736b4
nixos/caddy: add support for reload
2023-07-04 11:25:05 +02:00
Eric Wolf
ee5cc38432
lemmy: Support secret options
...
This commit implements #101777 by merging
the config with an external file at startup.
2023-07-03 09:12:40 +08:00
Ryan Lahfa
7672c1e9ae
Merge pull request #201907 from Tom-Hubrecht/fail2ban
2023-07-02 13:57:47 +02:00
oddlama
1fa9f03eec
nixos/hostapd: rewrite to support multi-AP, password from file, and more
...
At this point this is basically a full rewrite of this module, which
is a breaking change and was necessary to properly expose the useful
parts of hostapd's config. The notable changes are:
- `hostapd` is now started with additional systemd sandbox/hardening options
- A single-daemon can now manage multiple distinct radios and BSSs, which is
why all configuration had to be moved into `hostapd.radios`
- By default WPA3-SAE will be used, but WPA2 and WPA3-SAE-TRANSITION are
supported, too
- Added passwordFile-like options for wpa and sae
- Add new relevant options for MAC ACL, WiFi5, WiFi6 and WiFi7 configuration
- Implements RFC42 as far as reasonable for hostapd
- Removes `with lib;`
2023-07-02 13:32:41 +02:00
figsoda
a86a7dafdf
Merge pull request #226977 from mac-chaffee/sws-module
2023-07-01 19:58:40 -04:00
Pol Dellaiera
b9b176f8b8
Merge pull request #240725 from eskytthe/apachekafka-3.5.0
...
apacheKafka: 3.5.0, 3.4.1, 3.3.1 -> 3.3.2
2023-07-01 23:25:54 +02:00
Mac Chaffee
61cb4170fd
nixos/static-web-server: create module which uses upstream systemd units
...
This commit creates a nixos module for static-web-server.
The module uses upstream systemd units to start static-web-server.
It also includes options for configuring static-web-server.
2023-07-01 12:51:13 -04:00
Jörg Thalheim
cf2167b39e
Merge pull request #231609 from Mic92/bcachefs-tools
...
bcachefs-tools: unstable-2023-01-31 -> unstable-2023-05-13
2023-07-01 16:31:43 +01:00
Jörg Thalheim
af57956199
nixos/test/bcachefs: fix password input
2023-07-01 17:10:11 +02:00
TQ Hirsch
8ab22ad2ad
nixos/tests/powerdns: Stop manually configuring config path
2023-07-01 18:55:50 +08:00
pennae
969b4d7ba9
Merge pull request #232454 from quentinmit/bridge-vlan
...
nixos/networkd: Fix typo in BridgeVLAN options
2023-07-01 00:19:37 +02:00
Tom Hubrecht
208ee8b2e2
nixos/fail2ban: use attrsets for settings instead of strings
2023-06-30 22:27:40 +02:00
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