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 4, 2022
1 parent a0b6dd1 commit a993ab2
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 53 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
65 changes: 63 additions & 2 deletions nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,26 @@
updated manually.
</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 All @@ -110,7 +130,7 @@
</section>
<section xml:id="sec-release-23.05-notable-changes">
<title>Other Notable Changes</title>
<itemizedlist>
<itemizedlist spacing="compact">
<listitem>
<para>
The module for the application firewall
Expand All @@ -119,15 +139,56 @@
<link linkend="opt-services.opensnitch.rules">services.opensnitch.rules</link>
</para>
</listitem>
</itemizedlist>
<para>
&lt;&lt;&lt;&lt;&lt;&lt;&lt; HEAD
</para>
<itemizedlist>
<listitem>
<para>
<literal>services.mastodon</literal> gained a tootctl wrapped
named <literal>mastodon-tootctl</literal> similar to
<literal>nextcloud-occ</literal> which can be executed from
any user and switches to the configured mastodon user with
sudo and sources the environment variables.
sudo and sources the environment variables. =======
</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>
</itemizedlist>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<para>
07da1119d5f (nixos/doc: move release notes from
22.11 to 23.05)
</para>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<itemizedlist>
<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
13 changes: 13 additions & 0 deletions nixos/doc/manual/release-notes/rl-2305.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ In addition to numerous new and upgraded packages, this release has the followin

- Qt 5.12 and 5.14 have been removed, as the corresponding branches have been EOL upstream for a long time. This affected under 10 packages in nixpkgs, largely unmaintained upstream as well, however, out-of-tree package expressions may need to be updated manually.

- 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 @@ -41,7 +46,15 @@ In addition to numerous new and upgraded packages, this release has the followin

- The module for the application firewall `opensnitch` got the ability to configure rules. Available as [services.opensnitch.rules](#opt-services.opensnitch.rules)

<<<<<<< HEAD
- `services.mastodon` gained a tootctl wrapped named `mastodon-tootctl` similar to `nextcloud-occ` which can be executed from any user and switches to the configured mastodon user with sudo and sources the environment variables.
=======
- 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.
>>>>>>> 07da1119d5f (nixos/doc: move release notes from 22.11 to 23.05)
- 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).

Expand Down

0 comments on commit a993ab2

Please sign in to comment.