From 439d7d493dc74ecf3306091a5b17121ecedb444d Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 17 Dec 2021 14:39:58 +0100 Subject: [PATCH] nixos: Add release note about vmVariant --- .../from_md/release-notes/rl-2205.section.xml | 22 +++++++++++++++++++ .../manual/release-notes/rl-2205.section.md | 10 +++++++++ 2 files changed, 32 insertions(+) diff --git a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml index 2dd27649c52c..e87fec9a2e56 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml @@ -132,6 +132,28 @@ socket /run/redis-${serverName}/redis.sock. + + + The option + virtualisation.vmVariant + was added to allow users to make changes to the + nixos-rebuild build-vm configuration that + do not apply to their normal system. + + + The config.system.build.vm attribute now + always exists and defaults to the value from + vmVariant. Configurations that import the + virtualisation/qemu-vm.nix module + themselves will override this value, such that + vmVariant is not used. + + + Similarly + virtualisation.vmVariantWithBootloader + was added. + + The diff --git a/nixos/doc/manual/release-notes/rl-2205.section.md b/nixos/doc/manual/release-notes/rl-2205.section.md index 595785e732a4..9d13697a41f1 100644 --- a/nixos/doc/manual/release-notes/rl-2205.section.md +++ b/nixos/doc/manual/release-notes/rl-2205.section.md @@ -57,4 +57,14 @@ In addition to numerous new and upgraded packages, this release has the followin to the members of the Unix group `redis-${serverName}` through the Unix socket `/run/redis-${serverName}/redis.sock`. +- The option [virtualisation.vmVariant](#opt-virtualisation.vmVariant) was added + to allow users to make changes to the `nixos-rebuild build-vm` configuration + that do not apply to their normal system. + + The `config.system.build.vm` attribute now always exists and defaults to the + value from `vmVariant`. Configurations that import the `virtualisation/qemu-vm.nix` + module themselves will override this value, such that `vmVariant` is not used. + + Similarly [virtualisation.vmVariantWithBootloader](#opt-virtualisation.vmVariantWithBootLoader) was added. + - The `writers.writePyPy2`/`writers.writePyPy3` and corresponding `writers.writePyPy2Bin`/`writers.writePyPy3Bin` convenience functions to create executable Python 2/3 scripts using the PyPy interpreter were added.