From 39e64b2b7706885b8261bfbefa8dd0521072d8c7 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 9 Mar 2024 20:40:44 +0800 Subject: nongnu: nvda: Update synopsis and description. * nongnu/packages/nvidia.scm (nvda)[synopsis,description]: Update. Signed-off-by: John Kehayias --- nongnu/packages/nvidia.scm | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/nongnu/packages/nvidia.scm b/nongnu/packages/nvidia.scm index 54ce330..29d0321 100644 --- a/nongnu/packages/nvidia.scm +++ b/nongnu/packages/nvidia.scm @@ -740,10 +740,19 @@ configuration, creating application profiles, gpu monitoring and more.") (search-path-specification (variable "XDG_DATA_DIRS") (files '("share"))))) + (synopsis "Nonguix's user-facing NVIDIA driver package") (description - "These are the libraries of the evil NVIDIA driver, packaged in such a -way that you can use the transformation option @code{--with-graft=mesa=nvda} -to use the NVIDIA driver with a package that requires mesa.") + "This package provides a drop-in replacement for @code{mesa} and is +intended to be installed by @code{nvidia-service-type}. + +To actually use the NVIDIA card, replacement must be applied for individual +packages, this can be done either by rewriting inputs with +@code{--with-input=mesa=nvda} or grafting with @code{--with-graft=mesa=nvda}. +For a programmatical way, the procedure @code{replace-mesa} can be used. + +Additionally, if the NVIDIA card is not used for displaying, environment +variables @code{__GLX_VENDOR_LIBRARY_NAME=nvidia} and +@code{__NV_PRIME_RENDER_OFFLOAD=1} may be set.") (native-inputs '()) (propagated-inputs (append -- cgit v1.2.3