about summary refs log tree commit diff
path: root/nixos/doc/manual
diff options
context:
space:
mode:
authorSomeone <sergei.kozlukov@aalto.fi>2024-02-22 13:03:18 +0000
committerGitHub <noreply@github.com>2024-02-22 13:03:18 +0000
commitee3923ed7d5d866fc6a72b5c549370d825de9fa8 (patch)
tree6c21344179ea3cf0d0284e7d9913cb92d8e11311 /nixos/doc/manual
parent2a56c2ca6814a31f8211dad09302398a06acbcdf (diff)
parent6ac6aab1993eeb0d5da48054ff3d89b666c241e5 (diff)
downloadnixlib-ee3923ed7d5d866fc6a72b5c549370d825de9fa8.tar
nixlib-ee3923ed7d5d866fc6a72b5c549370d825de9fa8.tar.gz
nixlib-ee3923ed7d5d866fc6a72b5c549370d825de9fa8.tar.bz2
nixlib-ee3923ed7d5d866fc6a72b5c549370d825de9fa8.tar.lz
nixlib-ee3923ed7d5d866fc6a72b5c549370d825de9fa8.tar.xz
nixlib-ee3923ed7d5d866fc6a72b5c549370d825de9fa8.tar.zst
nixlib-ee3923ed7d5d866fc6a72b5c549370d825de9fa8.zip
Merge pull request #284507 from ereslibre/containers-cdi
NixOS: Add support for CDI
Diffstat (limited to 'nixos/doc/manual')
-rw-r--r--nixos/doc/manual/release-notes/rl-2405.section.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2405.section.md b/nixos/doc/manual/release-notes/rl-2405.section.md
index 8010f2ba2076..e3df462c47a3 100644
--- a/nixos/doc/manual/release-notes/rl-2405.section.md
+++ b/nixos/doc/manual/release-notes/rl-2405.section.md
@@ -25,6 +25,10 @@ In addition to numerous new and upgraded packages, this release has the followin
 - A new option `systemd.sysusers.enable` was added. If enabled, users and
   groups are created with systemd-sysusers instead of with a custom perl script.
 
+- A new option `virtualisation.containers.cdi` was added. It contains `static` and `dynamic` attributes (corresponding to `/etc/cdi` and `/run/cdi` respectively) to configure the Container Device Interface (CDI).
+
+- `virtualisation.docker.enableNvidia` and `virtualisation.podman.enableNvidia` options are deprecated. `virtualisation.containers.cdi.dynamic.nvidia.enable` should be used instead. This option will expose GPUs on containers with the `--device` CLI option. This is supported by Docker 25, Podman 3.2.0 and Singularity 4. Any container runtime that supports the CDI specification will take advantage of this feature.
+
 - A new option `system.etc.overlay.enable` was added. If enabled, `/etc` is
   mounted via an overlayfs instead of being created by a custom perl script.