Skip to content

nvidia

Repo box/github.com/opencharly/layer-nvidia:v2026.327.0533

NVIDIA GPU runtime — nvidia-container-toolkit (nvidia-ctk CDI) plus the Vulkan ICD wiring Installs nvidia-container-toolkit (the nvidia-ctk CLI that generates CDI device specs) and the distro’s own non-host-coupled assets (the Vulkan ICD from nvidia-utils on Arch, libva-nvidia-driver on Fedora), and leaves every driver file the distro package owns in place: a POD never composes this layer (layer-cdi FAILS a build that bakes a driver user-space), and a VM’s guest owns its driver. Exports LD_LIBRARY_PATH=/usr/lib64 so the injected GPU driver libraries resolve, and prepares /etc/vulkan/icd.d to hold the nvidia Vulkan ICD symlinks. Every effect — the package, the nvidia-ctk binary, the exported path, and the ICD directory — is a real artifact baked into the image, so each is directly verifiable without a physical GPU.

The CachyOS build of this package omits /usr/bin/nvidia-ctk; the plan step

Section titled “The CachyOS build of this package omits /usr/bin/nvidia-ctk; the plan step”

below installs Arch’s build on top, which ships it.

Section titled “below installs Arch’s build on top, which ships it.”

Installed on every distro:

  • nvidia-container-toolkit

This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.

Intent Step
run install nvidia-ctk from the Arch extra repo
run mkdir=/etc/vulkan/icd.d
run command=[ -f /usr/share/vulkan/icd.d/nvidia_icd.x86_64.json ] && \ ln -sf /usr/share/vulkan/icd.d/nvidia_icd.x86_64.json /etc/vulkan/icd.d/nvidia_icd.json || true [ -f /usr/share/vulkan/implicit_layer.d/nvidia_layers.json ] && \ ln -sf /usr/share/vulkan/implicit_layer.d/nvidia_layers.json /etc/vulkan/icd.d/nvidia_layers.json || true
check the nvidia-container-toolkit repo enforces package signature verification, so its packages cannot install unverified
check the nvidia-container-toolkit package is installed for CDI device generation
check the nvidia-ctk CLI binary lands on the canonical /usr/bin path
check nvidia-ctk runs and reports a version number
check the Vulkan ICD directory exists to hold the nvidia ICD symlinks
check the NVIDIA runtime asset THIS distro provides is present (Vulkan ICD JSON on Arch, VA-API driver on Fedora)
check the distro package’s driver user-space is PRESENT — this layer never strips it