Commit Graph

677282 Commits

Author SHA1 Message Date
Emily
56dea6da87 nixos: switch to switch-to-configuration-ng by default
The Rust `switch-to-configuration-ng` rewrite was carefully written
to be compatible with the original Perl script, has been checked
against NixOS VM tests, and has been available on an opt‐in basis
for testing for the 24.05 release cycle.

The next step towards replacing the Perl script entirely is to
switch it on by default so that we can get real‐world testing from
a much greater number of users. Maintaining two implementations in
parallel is becoming a burden; we are having to adjust the systemd
service activation behaviour slightly to fix a long‐standing bug,
and backporting the changes to the Perl script is an unpleasant
process. We will do it anyway to ensure that the Rust and Perl
implementations keep parity with each other throughout the 24.11
release cycle, but we think the time has come to flip the switch.

Taking this step now will give us two to three months to test this in
the wild before the 24.11 release and gain confidence that there are
no regressions. If any non‐trivial problems arise before the final
release, we will revert to the Perl implementation by default. Doing
this switch ASAP will help to disentangle any problems that might
arise from the Rust implementation from problems that arise from the
systemd service activation changes, or the upcoming switch to using
systemd in stage 1 by default.

The main concern that was raised about replacing the Perl script in the
PR that added `switch-to-configuration-ng` was that it is currently
possible to run NixOS on systems that cannot natively host a Rust
compiler. This does not apply to any platforms that have official
support from NixOS, and as far as I know we do not know of any such
systems with users that are not cross‐compiling anyway.

My understanding is that these systems are already broken by default
anyway, as `systemd.shutdownRamfs.enable` is on by default and uses
`make-initrd-ng`, which is also written in Rust. Switching the default
while keeping the Perl implementation around will give us at least
an entire release cycle to find out if there are any users that will
be affected by this and decide what to do about it if so.

There is currently one known inconsistency between
the Perl and Rust implementations, as documented in
<https://github.com/NixOS/nixpkgs/issues/312297>; the Rust
implementation has more accurate handling of failed systemd units.

We slightly adjust the semantics of `system.switch.enable{,Ng}` to
not conflict with each other, so that `system.switch.enableNg` is
on by default, but turning off `system.switch.enable` still results
in no `switch-to-configuration` implementation being used. This
won’t break the configuration of anyone who already opted in to
`system.switch.enableNg` and is probably how the option should have
worked to begin with.
2024-09-06 08:35:43 +01:00
Emily
182b7164cc
nixVersions.nix_2_24: 2.24.4 -> 2.24.5 (#339843) 2024-09-06 08:31:10 +01:00
Fabian Affolter
bba8dffd31
python312Packages.aiomultiprocess: Fix for python 3.12 (#339823) 2024-09-06 09:22:44 +02:00
Fabian Affolter
345790122d
python312Packages.msgraph-sdk: 1.5.4 -> 1.6.0 (#339838) 2024-09-06 09:19:28 +02:00
Fabian Affolter
15b5063835
python312Packages.meshtastic: 2.4.0 -> 2.4.1 (#339966) 2024-09-06 09:17:55 +02:00
K900
f7d250895e
home-assistant-custom-lovelace-modules.universal-remote-card: 4.0.0 -> 4.0.1 (#339988) 2024-09-06 10:14:09 +03:00
Pol Dellaiera
c361db37a7
nh: 3.5.21 -> 3.5.25 (#339990) 2024-09-06 09:08:59 +02:00
nixpkgs-merge-bot[bot]
09c8295ecb
files-cli: 2.13.128 -> 2.13.133 (#339983) 2024-09-06 07:06:57 +00:00
Fabian Affolter
4aa079dd72
trivy: 0.54.1 -> 0.55.0 (#339416) 2024-09-06 08:34:58 +02:00
Fabian Affolter
a966a470c5
python312Packages.mailchecker: 6.0.5 -> 6.0.8 (#339885) 2024-09-06 08:33:25 +02:00
Marcus Ramberg
0441b7da24
floorp-unwrapped: 11.17.7 -> 11.17.8 (#339011) 2024-09-06 08:33:10 +02:00
Fabian Affolter
966402e947
python312Packages.frigidaire: 0.18.21 -> 0.18.23 (#339892) 2024-09-06 08:32:59 +02:00
Fabian Affolter
4fd2f71e01
python312Packages.mkdocstrings-python: 1.10.9 -> 1.11.1 (#339893) 2024-09-06 08:32:49 +02:00
Fabian Affolter
37096ab9a2
python312Packages.angrop: 9.2.9 -> 9.2.10 (#339894) 2024-09-06 08:32:33 +02:00
Fabian Affolter
e9ff58c447
python312Packages.asysocks: 0.2.12 -> 0.2.13 (#339899) 2024-09-06 08:32:09 +02:00
Fabian Affolter
576aed7a1e
python312Packages.types-requests: 2.32.0.20240712 -> 2.32.0.20240905 (#339900) 2024-09-06 08:31:49 +02:00
Fabian Affolter
0286e518d2
python312Packages.tencentcloud-sdk-python: 3.0.1225 -> 3.0.1226 (#339901) 2024-09-06 08:31:34 +02:00
Fabian Affolter
9e44054817
python312Packages.publicsuffixlist: 1.0.2.20240903 -> 1.0.2.20240905 (#339902) 2024-09-06 08:31:23 +02:00
Fabian Affolter
ba2ddc528e
python312Packages.asyauth: 0.0.20 -> 0.0.21 (#339903) 2024-09-06 08:31:13 +02:00
Fabian Affolter
f0b251eda4
python312Packages.commoncode: 31.2.1 -> 32.0.0 (#339904) 2024-09-06 08:31:02 +02:00
Ivan Mincik
9053e77d2c
python312Packages.fiona: 1.9.6 -> 1.10.0 (#339443) 2024-09-06 06:29:12 +00:00
Paul Meyer
477b66d2e8
uplosi: 0.2.1 -> 0.3.0 (#339860) 2024-09-06 08:28:12 +02:00
Philip Taron
71f0490dfe
llama-cpp: 3645 -> 3672 (#339982) 2024-09-05 23:14:58 -07:00
Robert Schütz
4f213fe612
python312Packages.libcst: move tests to passthru.tests (#338508) 2024-09-05 23:03:54 -07:00
Masum Reza
546d20c120
hdr10plus_tool: init at 1.6.0 (#339715) 2024-09-06 11:20:53 +05:30
R. Ryantm
d4bfb852a9 nh: 3.5.21 -> 3.5.25 2024-09-06 05:43:51 +00:00
K900
c264bc681c home-assistant-custom-lovelace-modules.universal-remote-card: 4.0.0 -> 4.0.1
Diff: https://github.com/Nerwyn/android-tv-card/compare/4.0.0...4.0.1
2024-09-06 08:34:59 +03:00
Masum Reza
94f43b3473
soteria: init at 0.1.0 (#330682) 2024-09-06 11:02:10 +05:30
K900
0a0c363694
gamescope: 3.15.2 -> 3.15.5 (#339974) 2024-09-06 08:19:28 +03:00
R. Ryantm
115a8ef037 files-cli: 2.13.128 -> 2.13.133 2024-09-06 05:02:27 +00:00
R. Ryantm
9dca8ad0d2 llama-cpp: 3645 -> 3672 2024-09-06 04:58:14 +00:00
Aleksana
dad644b5a0
python3Packages.playwright: fix cli path (#339866) 2024-09-06 12:55:23 +08:00
Aleksana
e11cc28478
tippecanoe: geospatial team as maintainer (#339255) 2024-09-06 12:52:18 +08:00
Aleksana
3be36da2d2
unl0kr: remove tomfitzhenry@ as maintainer (#333616) 2024-09-06 12:50:55 +08:00
Aleksana
7d8a76a8be
github-runner: remove newam from maintainers (#339979) 2024-09-06 12:50:09 +08:00
Aleksana
b2b9d8c169
rcu: disable build on hydra (#339869) 2024-09-06 12:49:42 +08:00
Alex Martens
80f8973af8 github-runner: remove newam from maintainers 2024-09-05 21:36:53 -07:00
Sebastián Mancilla
927501e2d0
Update leptosfmt v0.1.18 -> v0.1.30 (#333046) 2024-09-06 00:27:21 -04:00
R. Ryantm
6b1425c64b gamescope: 3.15.2 -> 3.15.5 2024-09-06 03:52:39 +00:00
techknowlogick
0e0665d1e0 go_1_23: 1.23.0 -> 1.23.1
Changelog: https://go.dev/doc/devel/release#go1.23
2024-09-06 13:18:20 +10:00
R. Ryantm
fd9fd8a7e1 python312Packages.meshtastic: 2.4.0 -> 2.4.1 2024-09-06 03:14:41 +00:00
Atemu
243b7dde35
x265: fix cross-compiling to armv7 (#339822) 2024-09-06 05:10:36 +02:00
Jared Baur
61cfeab4dd
x265: fix cross-compiling to armv7
Some of the cmake calls in `preConfigure` require setting the correct
cross-compilation flags, so appending these after those calls do not
end up working.
2024-09-05 19:46:59 -07:00
Adam C. Stephens
ae73301ada
quantlib: 1.34 -> 1.35 (#329781) 2024-09-05 22:14:28 -04:00
Adam C. Stephens
7dc79083ac
nix-direnv: 3.0.5 -> 3.0.6 (#339358) 2024-09-05 22:03:46 -04:00
kirillrdy
59910df84e
heliocron: init at 0.8.1 (#338936) 2024-09-06 12:01:34 +10:00
Aleksana
1836898061
surrealist: 2.0.6 -> 2.1.6 (#335619) 2024-09-06 10:00:18 +08:00
Connor Baker
94b9bccc4b
gpu-burn: unstable-2023-11-10 -> unstable-2024-04-09; update CUDA packaging (#339911) 2024-09-05 18:03:55 -07:00
Yt
fcc6387b76
nixos/stalwart-mail: package and configure webadmin (#314820) 2024-09-06 01:03:27 +00:00
Yt
6aeb223337
eintopf: 0.13.16 -> 0.14.1 (#336806) 2024-09-06 00:48:07 +00:00