nongnu: nvda: Update synopsis and description.

* nongnu/packages/nvidia.scm (nvda)[synopsis,description]: Update.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
This commit is contained in:
Hilton Chain 2024-03-09 20:40:44 +08:00 committed by John Kehayias
parent 260855dc5e
commit 39e64b2b77
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9

View file

@ -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