summaryrefslogtreecommitdiff
path: root/nongnu
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2024-03-09 20:40:44 +0800
committerJohn Kehayias <john.kehayias@protonmail.com>2024-04-24 20:06:56 -0400
commit39e64b2b7706885b8261bfbefa8dd0521072d8c7 (patch)
tree58249cd511d0f1b51d0c1941057648b22f2fac09 /nongnu
parent260855dc5e36a418193a286392655f50a4be1ad5 (diff)
nongnu: nvda: Update synopsis and description.
* nongnu/packages/nvidia.scm (nvda)[synopsis,description]: Update. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
Diffstat (limited to 'nongnu')
-rw-r--r--nongnu/packages/nvidia.scm15
1 files 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