Skip to content

Commit

Permalink
nixos/doc: move release notes from 22.11 to 23.05
Browse files Browse the repository at this point in the history
  • Loading branch information
RaitoBezarius committed Dec 17, 2022
1 parent a4ccee3 commit cec8916
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 51 deletions.
39 changes: 0 additions & 39 deletions nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
Original file line number Diff line number Diff line change
Expand Up @@ -273,14 +273,6 @@
for more details on the included changes.
</para>
</listitem>
<listitem>
<para>
Disk layout in NixOS tests has changed when using bootloaders:
instead of two disks <literal>/dev/vda</literal> and
<literal>/dev/vdb</literal>, there is only a unified
<literal>/dev/vda</literal> with multiple partitions.
</para>
</listitem>
<listitem>
<para>
<literal>hardware.nvidia</literal> has a new option
Expand Down Expand Up @@ -381,21 +373,6 @@
instead.
</para>
</listitem>
<listitem>
<para>
Disk layout in NixOS tests has changed when using bootloaders:
instead of two disks <literal>/dev/vda</literal> and
<literal>/dev/vdb</literal>, there is only a unified
<literal>/dev/vda</literal> with multiple partitions. This
require you to change <literal>/dev/vdc</literal> to
<literal>/dev/vdb</literal> and so on if you were using
<literal>emptyDiskImages</literal> which creates disks in
order, as <literal>/dev/vdb</literal> has disappeared, every
disk has to start over from <literal>/dev/vdb</literal> rather
than <literal>/dev/vdc</literal>, see the #191665 PR in
nixpkgs to learn about examples for your migration.
</para>
</listitem>
<listitem>
<para>
The <literal>isPowerPC</literal> predicate, found on
Expand Down Expand Up @@ -1093,22 +1070,6 @@ services.github-runner.serviceOverrides.SupplementaryGroups = [
correspoding UEFI artifacts.
</para>
</listitem>
<listitem>
<para>
QEMU test architecture supports running System Management
Enforcement (SMM), useful to lock down UEFI authenticated
variables. At the moment, it seems to prevent any change to
UEFI platform, breaking disk production and tests, if enabled.
</para>
</listitem>
<listitem>
<para>
<literal>nixos/lib/make-disk-image.nix</literal> can now
mutate EFI variables, run user-provided EFI firmware or
variable templates. As a result, NixOS tests have better
support of UEFI platforms tests such as SecureBoot tests.
</para>
</listitem>
<listitem>
<para>
The <literal>services.matrix-synapse</literal> systemd unit
Expand Down
36 changes: 36 additions & 0 deletions nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,26 @@
been changed to <literal>null</literal>.
</para>
</listitem>
<listitem>
<para>
Disk layout in NixOS tests has changed when using bootloaders:
instead of two disks <literal>/dev/vda</literal> and
<literal>/dev/vdb</literal>, there is only a unified
<literal>/dev/vda</literal> with multiple partitions. This
require you to change <literal>/dev/vdc</literal> to
<literal>/dev/vdb</literal> and so on if you were using
<literal>emptyDiskImages</literal> which creates disks in
order, as <literal>/dev/vdb</literal> has disappeared, every
disk has to start over from <literal>/dev/vdb</literal> rather
than <literal>/dev/vdc</literal>, see the
<link xlink:href="https://github.com/NixOS/nixpkgs/pull/203641">#203641
PR in nixpkgs</link> to learn about examples for your
migration. In addition,
<literal>virtualisation.rootDevice</literal> option was
introduced and should be used instead of
<literal>virtualisation.bootDevice</literal> in many cases.
</para>
</listitem>
<listitem>
<para>
The <literal>nix.readOnlyStore</literal> option has been
Expand Down Expand Up @@ -240,6 +260,22 @@
remote <literal>PostgreSQL</literal> database.
</para>
</listitem>
<listitem>
<para>
QEMU test architecture supports running System Management
Enforcement (SMM), useful to lock down UEFI authenticated
variables. At the moment, it seems to prevent any change to
UEFI platform, breaking disk production and tests, if enabled.
</para>
</listitem>
<listitem>
<para>
<literal>nixos/lib/make-disk-image.nix</literal> can now
mutate EFI variables, run user-provided EFI firmware or
variable templates. As a result, NixOS tests have better
support of UEFI platforms tests such as SecureBoot tests.
</para>
</listitem>
<listitem>
<para>
A new <literal>virtualisation.rosetta</literal> module was
Expand Down
12 changes: 0 additions & 12 deletions nixos/doc/manual/release-notes/rl-2211.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ In addition to numerous new and upgraded packages, this release includes the fol

- KDE Plasma has been upgraded from v5.24 to v5.26. Please see the release notes for [v5.25](https://kde.org/announcements/plasma/5/5.25.0/) and [v5.26](https://kde.org/announcements/plasma/5/5.26.0/) for more details on the included changes.

- Disk layout in NixOS tests has changed when using bootloaders: instead of two disks `/dev/vda` and `/dev/vdb`, there is only a unified `/dev/vda` with multiple partitions.

- `hardware.nvidia` has a new option `open` that can be used to opt in the opensource version of NVIDIA kernel driver. Note that the driver's support for GeForce and Workstation GPUs is still alpha quality, see [NVIDIA Releases Open-Source GPU Kernel Modules](https://developer.nvidia.com/blog/nvidia-releases-open-source-gpu-kernel-modules/) for the official announcement.

- Cinnamon has been updated to 5.4, and the Cinnamon module now defaults to
Expand Down Expand Up @@ -110,10 +108,6 @@ In addition to numerous new and upgraded packages, this release includes the fol
been removed. Please convert any uses to
[services.logrotate.settings](#opt-services.logrotate.settings) instead.

- Disk layout in NixOS tests has changed when using bootloaders: instead of two disks `/dev/vda` and `/dev/vdb`, there is only a unified `/dev/vda` with multiple partitions.
This require you to change `/dev/vdc` to `/dev/vdb` and so on if you were using `emptyDiskImages` which creates disks in order, as `/dev/vdb` has disappeared, every disk
has to start over from `/dev/vdb` rather than `/dev/vdc`, see the #191665 PR in nixpkgs to learn about examples for your migration.

- The `isPowerPC` predicate, found on `platform` attrsets (`hostPlatform`, `buildPlatform`, `targetPlatform`, etc) has been removed in order to reduce confusion. The predicate was was defined such that it matches only the 32-bit big-endian members of the POWER/PowerPC family, despite having a name which would imply a broader set of systems. If you were using this predicate, you can replace `foo.isPowerPC` with `(with foo; isPower && is32bit && isBigEndian)`.

- The `fetchgit` fetcher now uses [cone mode](https://www.git-scm.com/docs/git-sparse-checkout/2.37.0#_internalscone_mode_handling) by default for sparse checkouts. [Non-cone mode](https://www.git-scm.com/docs/git-sparse-checkout/2.37.0#_internalsnon_cone_problems) can be enabled by passing `nonConeMode = true`, but note that non-cone mode is deprecated and this option may be removed alongside a future Git update without notice.
Expand Down Expand Up @@ -315,12 +309,6 @@ In addition to numerous new and upgraded packages, this release includes the fol

- `pkgs.OVMF.fd` exposes `firmware` and `variables` which points to your host architecture binaries for the correspoding UEFI artifacts.

- QEMU test architecture supports running System Management Enforcement (SMM), useful to lock down UEFI authenticated variables.
At the moment, it seems to prevent any change to UEFI platform, breaking disk production and tests, if enabled.

- `nixos/lib/make-disk-image.nix` can now mutate EFI variables, run user-provided EFI firmware or variable templates.
As a result, NixOS tests have better support of UEFI platforms tests such as SecureBoot tests.

- The `services.matrix-synapse` systemd unit has been hardened.

- The module `services.grafana` was refactored to be compliant with [RFC 0042](https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md). To be precise, this means that the following things have changed:
Expand Down
11 changes: 11 additions & 0 deletions nixos/doc/manual/release-notes/rl-2305.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ In addition to numerous new and upgraded packages, this release has the followin

- In `mastodon` it is now necessary to specify location of file with `PostgreSQL` database password. In `services.mastodon.database.passwordFile` parameter default value `/var/lib/mastodon/secrets/db-password` has been changed to `null`.

- Disk layout in NixOS tests has changed when using bootloaders: instead of two disks `/dev/vda` and `/dev/vdb`, there is only a unified `/dev/vda` with multiple partitions.
This require you to change `/dev/vdc` to `/dev/vdb` and so on if you were using `emptyDiskImages` which creates disks in order, as `/dev/vdb` has disappeared, every disk
has to start over from `/dev/vdb` rather than `/dev/vdc`, see the [#203641 PR in nixpkgs](https://github.com/NixOS/nixpkgs/pull/203641) to learn about examples for your migration.
In addition, `virtualisation.rootDevice` option was introduced and should be used instead of `virtualisation.bootDevice` in many cases.

- The `nix.readOnlyStore` option has been renamed to `boot.readOnlyNixStore` to clarify that it configures the NixOS boot process, not the Nix daemon.

## Other Notable Changes {#sec-release-23.05-notable-changes}
Expand All @@ -72,6 +77,12 @@ In addition to numerous new and upgraded packages, this release has the followin

- `mastodon` now supports connection to a remote `PostgreSQL` database.

- QEMU test architecture supports running System Management Enforcement (SMM), useful to lock down UEFI authenticated variables.
At the moment, it seems to prevent any change to UEFI platform, breaking disk production and tests, if enabled.

- `nixos/lib/make-disk-image.nix` can now mutate EFI variables, run user-provided EFI firmware or variable templates.
As a result, NixOS tests have better support of UEFI platforms tests such as SecureBoot tests.

- A new `virtualisation.rosetta` module was added to allow running `x86_64` binaries through [Rosetta](https://developer.apple.com/documentation/apple-silicon/about-the-rosetta-translation-environment) inside virtualised NixOS guests on Apple silicon. This feature works by default with the [UTM](https://docs.getutm.app/) virtualisation [package](https://search.nixos.org/packages?channel=unstable&show=utm&from=0&size=1&sort=relevance&type=packages&query=utm).

- The new option `users.motdFile` allows configuring a Message Of The Day that can be updated dynamically.
Expand Down

0 comments on commit cec8916

Please sign in to comment.