Skip to content

nvidia-driver

Version 2026.150.2158
Repo box/cachyos

NVIDIA open kernel driver + Wayland userspace for a VFIO GPU-passthrough CachyOS VM guest Installs the CachyOS prebuilt open kernel module (linux-cachyos-nvidia-open) + nvidia-utils, egl-wayland (KDE Wayland on NVIDIA), the OpenCL ICD, nvidia-settings and the VA-API driver; blacklists nouveau, enables nvidia-drm modeset=1, installs a boot-time CDI-generation oneshot, and requests a reboot. Guest/bare-host only (never in a container). Verifiable: the modprobe + CDI unit files land and the egl-wayland / opencl-nvidia packages install.

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 write=/etc/modprobe.d/charly-nvidia.conf
run write=/etc/systemd/system/charly-nvidia-cdi.service
run command=systemctl daemon-reload || true systemctl enable charly-nvidia-cdi.service || true
run command=u=“$(getent passwd 1000 | cut -d: -f1)” [ -n “$u” ] && usermod -aG video,render “$u” || true
check the nouveau blacklist + nvidia-drm modeset config is installed
check the boot-time CDI-generation service is installed
check egl-wayland (the NVIDIA Wayland EGLStream platform) is installed
check file=/etc/modprobe.d/charly-nvidia.conf
check file=/etc/systemd/system/charly-nvidia-cdi.service
check package=egl-wayland
check package=opencl-nvidia