0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00
Commit graph

9634 commits

Author SHA1 Message Date
Nico Felbinger
9bec4f1c52 nixosTests.containers-restart_networking: ensure eth1 has no ip addresses
(cherry picked from commit 5e4c8f1007)
2024-12-23 14:56:46 +00:00
Adam C. Stephens
e020e1909f nixos/tests/incus: fix multi-system support
(cherry picked from commit 9e95bbbc34)
2024-12-23 03:32:53 +00:00
Stefan Frijters
dbb71e266a nixos/ntpd: fix permissions error when creating drift file
This fixes "frequency file /var/lib/ntp/ntp.drift.TEMP: Permission denied".

Creating a directory via StateDirectory makes that directory /var/lib/ntp owned by root:root.
However, when running ntpd we change to user ntp (see ntpFlags), so the process cannot
actually use that directory.

Actually creating a home directory for the user at that location solves that problem.

(cherry picked from commit 31942f20f4)
2024-12-22 22:21:04 +00:00
Maximilian Bosch
d1ce5c501e nixos/tests/systemd-sysusers-password-option-override-ordering: clarify SetCredential check
It was kinda weird to assert that the clear-text password was
in the unit when the hashed password was the effective one.

This change makes it explicit that both are in there and the latter
takes precedence.

(cherry picked from commit da2c826e1a)
2024-12-22 14:45:34 +00:00
fidgetingbits
71286bacb1 nixos/tests: Add two new tests for password option override ordering
This commit adds two new tests to show that the ordering of password
overrides documentation in nixos/modules/config/user-groups.nix is
correct. The override behavior differs depending on whether a system
has systemd-sysusers enabled, so there are two tests.

(cherry picked from commit b84fb1e5cd)
2024-12-22 14:45:34 +00:00
github-actions[bot]
76feda8a93
Merge staging-next-24.11 into staging-24.11 2024-12-22 00:19:40 +00:00
Robin Gloster
5db834e4bc
[Backport release-24.11] Update TT-RSS, add simple test and updater flag customization (#366774) 2024-12-21 11:41:09 +00:00
github-actions[bot]
fcc4949bbf
Merge staging-next-24.11 into staging-24.11 2024-12-21 00:17:44 +00:00
Adam C. Stephens
5b6548dc82
incus: fix CSM support
(cherry picked from commit 6cd3dd3c64)
2024-12-20 20:25:38 +00:00
Adam C. Stephens
b93a71dcc6
incus: refactor tests
(cherry picked from commit d7552b8a2d)
2024-12-20 20:25:38 +00:00
gileri
e94acb0e5e tt-rss: Add simple test
(cherry picked from commit cc2afaa16f)
2024-12-20 10:59:44 +00:00
github-actions[bot]
c6816b96cd
Merge staging-next-24.11 into staging-24.11 2024-12-17 00:19:28 +00:00
Fabián Heredia Montiel
4017ef8bae linux/hardened/patches/6.12: init at v6.12.4-hardened1
(cherry picked from commit d539a4a7e4)
2024-12-16 21:28:19 +00:00
github-actions[bot]
851884846c
Merge staging-next-24.11 into staging-24.11 2024-12-16 00:20:49 +00:00
Wolfgang Walther
148ddb5bf7
[Backport release-24.11] incus: 6.7.0 -> 6.8.0 (#365095) 2024-12-15 18:35:10 +01:00
github-actions[bot]
91d4404f12
Merge staging-next-24.11 into staging-24.11 2024-12-15 00:21:44 +00:00
Egor Savkin
501356fc14
tests: network: update nixosTests.networking.scripted.virtual to match correct behavior
First, `stop network-addresses-X` should clean up the addresses without deleting the interfaces. And only `stop tap0-netdev` should fully delete the interfaces.

Signed-off-by: Egor Savkin <es@m-labs.hk>
(cherry picked from commit 8bda6ea01c)
2024-12-14 16:13:10 +01:00
Adam C. Stephens
2ed91e5744 incus: 6.7.0 -> 6.8.0
https://github.com/lxc/incus/releases/tag/v6.8.0
(cherry picked from commit 967137ab0e)
2024-12-14 03:28:57 +00:00
Bjørn Forsman
6878b63321 nixos/tests/jenkins: increase disk size to 2 GiB
Or else Jenkins stops the built-in node due to lack of disk space (when
using the default 1 GiB).

(cherry picked from commit 5843a13d38)
2024-12-13 21:30:52 +01:00
Silvan Mosberger
d9d87c5196 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev 0128fbb0a5
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:29:24 +01:00
David Reaver
216e2bcc5e prowlarr: remove jdreaver as maintainer
(cherry picked from commit 1b7de0a3e7)
2024-12-09 16:41:34 +00:00
Robert Schütz
0a40e566b1 immich: 1.121.0 -> 1.122.1
https://github.com/immich-app/immich/releases/tag/v1.122.0
https://github.com/immich-app/immich/releases/tag/v1.122.1
(cherry picked from commit 2c8a792fac)
2024-12-09 10:52:08 +00:00
misuzu
8d9ce6aa45 nixos/tests/networking: fix flaky scripted.dhcpSimple test
The underlying issue is unknown, but starting
the router first and then the client makes the test not flaky.

(cherry picked from commit 92df50f4d0)
2024-12-06 07:01:24 +00:00
Wolfgang Walther
608816582e
[Backport release-24.11] nixos/monado: add forceDefaultRuntime option (#358702) 2024-12-04 20:24:41 +01:00
Marcin Serwin
11019d736c libresprite: 1.0 -> 1.1
(cherry picked from commit 6fa830fc0d)
2024-11-24 23:00:53 +00:00
Sefa Eyeoglu
942f21f944 nixos/monado: add forceDefaultRuntime option
This option replaces the active runtime manifest in the user directory.
Games running through Steam's Pressure Vessel cannot read /etc so
forcefully overriding the file every time the service starts, will allow
those games to use Monado.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
(cherry picked from commit 91fee43100)
2024-11-24 12:27:02 +00:00
Sefa Eyeoglu
443aea210c nixos/monado: nixfmt
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
(cherry picked from commit 969ad19f9d)
2024-11-24 12:27:01 +00:00
Weijia Wang
267d58a0e2
[Backport release-24.11] nixos/incus: add incus-user service and socket (#356398) 2024-11-24 11:28:39 +01:00
Weijia Wang
2fe68b83ee
[Backport release-24.11] wordpress: 6.6.2 -> 6.7 (#358428) 2024-11-24 11:03:50 +01:00
Adam Stephens
bcbd89f9c8 incus: add tpm to container test
(cherry picked from commit ed24c80ef6)
2024-11-23 22:47:13 +00:00
Adam Stephens
727cd0502b incus: fix tpm support
(cherry picked from commit 0e12722d4b)
2024-11-23 22:47:13 +00:00
Nico Felbinger
fa192bdc12 nixos/suricata: add module to modules-list
(cherry picked from commit f2de541dfd)
2024-11-23 21:32:44 +01:00
Viorel-Cătălin Răpițeanu
32ad7cbcec wordpress: 6.6.2 -> 6.7
Update the package to the latest version.

(cherry picked from commit 5705ab5bc5)
2024-11-23 13:20:20 +00:00
Kerstin
38f6e197be
[Backport release-24.11] canaille: init at 0.0.56, add module (#358353) 2024-11-23 11:29:33 +01:00
Kerstin Humm
9a5238a2ff nixos/open-web-calendar: init module
(cherry picked from commit 897954b8ae)
2024-11-23 09:04:17 +00:00
Kerstin Humm
02e290b42e nixos/canaille: init module
Co-Authored-By: Janik <80165193+Janik-Haag@users.noreply.github.com>
(cherry picked from commit ff2f00d425)
2024-11-23 09:03:40 +00:00
Jared Baur
d08c1b677f nixos/activation: Add pre-switch checks
Add an option for shell script fragments that are ran before switching
to a new NixOS system configuration (pre installation of bootloader or
system activation). Also add a new subcommand for
switch-to-configuration called "check" that will cause the program to
always exit after checks are ran.

(cherry picked from commit 6e192c4489)
2024-11-23 01:33:43 +00:00
Maximilian Bosch
0bd7e8585f nixos/tests/postgresql: test plv8 hardening on non-JIT variants only
PostgreSQL with JIT support enabled doesn't work with plv8. Hence, we'd
get an evaluation failure for each
`nixosTests.postgresql.postgresql.postgresql_jit_X`.

This should be restructured in the future (less VM tests for custom
extensions, but a single VM test for this case to cover). For now, we
should get this fix out and this is a good-enough approach.

(cherry picked from commit 68d9643388)
2024-11-16 21:30:02 +00:00
Martin Weinelt
830116313f nixosTests.postgresql: test hardening gets relaxed
The plv8 plugin requires access to pkey syscalls. The execution will
crash hard when it is not allowed by the syscall filter.

Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
(cherry picked from commit e198536d26)
2024-11-16 21:30:02 +00:00
Martin Weinelt
7d07116532 nixos/postgresql: rename extraPlugins to extensions
This is the upstream lingo, and it makes everything slightly less
confusing.

(cherry picked from commit 223a6c6ed0)
2024-11-16 21:30:02 +00:00
Adam Stephens
cc8e17e1fb nixos/tests/incus: test incus-user
(cherry picked from commit 0214dd4ef2)
2024-11-16 08:21:45 +00:00
Maximilian Bosch
022c3e8ad0 postgresql_12: remove
This will be EOL at the end of November, so there's little reason to
keep it in 24.11[1]. As discussed, we'd like to keep it for as long as
possible to make sure there's a state in nixpkgs that has the latest
minor of postgresql_12 available with the most recent CVEs fixed for
people who cannot upgrade[2].

This aspect has been made explicit in the manual now for the next .11
release.

During the discussions it has been brought up that if people just do
`services.postgresql.enable = true;` and let the code decide the
postgresql version based on `system.stateVersion`, there's a chance that
such EOL dates will be missed. To make this harder, a warning will now
be raised when using the stateVersion-condition and the oldest still
available major is selected.

Additionally regrouped the postgresql things in the release notes to
make sure these are all shown consecutively. Otherwise it's a little
hard to keep track of all the changes made to postgresql in 24.11.

[1] https://endoflife.date/postgresql
[2] https://github.com/NixOS/nixpkgs/pull/353158#issuecomment-2453056692

(cherry picked from commit 0b3eef7441)
2024-11-15 11:07:42 +00:00
Weijia Wang
9c631cfd4a
nixos/nixosTests.kerberos: add test suite for LDAP backend (#337719) 2024-11-14 17:26:05 +01:00
Pol Dellaiera
cf69fc271d
nixos/glances: init (#303320) 2024-11-14 05:47:04 +01:00
Yorick
97dfe7efe4
maintainers: Remove mkaito (#355650) 2024-11-13 19:57:30 +01:00
Maximilian Bosch
0524f3b302
Merge: nixosTests.postgresql: run tests with JIT as well (#355502) 2024-11-13 16:13:01 +01:00
Nessdoor
005ec27097 nixos/nixosTests.kerberos: add test suite for LDAP backend 2024-11-13 14:42:06 +01:00
Christian Höppner
8feba149a0
mkaito: Remove 2024-11-13 12:03:00 +00:00
Claes Hallström
d174bf438b nixos/glances: init module 2024-11-13 00:06:47 +01:00
Wolfgang Walther
9486472352
nixosTests.postgresql: run tests with JIT as well
This was intended for quite some time already, but ever since enableJIT
was changed to be the source of truth of JIT-iness for the PostgreSQL
module, this hasn't worked for the tests anymore.
2024-11-12 21:04:41 +01:00