nongnu: steam: Exposition of nvidia /dev files

* nongnu/packages/steam-client.scm (steam-client): expose /dev/nvidia*
in container. Required by nvidia-libs.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
Jean-Baptiste Volatier 2021-02-06 18:09:37 +01:00 committed by Jonathan Brielmaier
parent 34a5130517
commit d86c1d94d2
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -2,6 +2,7 @@
;;; Copyright © 2020 pkill-9 ;;; Copyright © 2020 pkill-9
;;; Copyright © 2020, 2021 ison <ison@airmail.cc> ;;; Copyright © 2020, 2021 ison <ison@airmail.cc>
;;; Copyright © 2021 pineapples ;;; Copyright © 2021 pineapples
;;; Copyright © 2021 Jean-Baptiste Volatier <jbv@pm.me>
;;; ;;;
;;; This file is not part of GNU Guix. ;;; This file is not part of GNU Guix.
;;; ;;;
@ -334,6 +335,9 @@ in a sandboxed FHS environment."
,@(exists-> "/etc/machine-id") ,@(exists-> "/etc/machine-id")
"/sys/class/input" ; Needed for controller input. "/sys/class/input" ; Needed for controller input.
"/sys/dev" "/sys/dev"
,@(exists-> "/dev/nvidia0") ; needed for nvidia proprietary driver
,@(exists-> "/dev/nvidiactl")
,@(exists-> "/dev/nvidia-modeset")
"/sys/devices" "/sys/devices"
"/var/run/dbus")) "/var/run/dbus"))
(share `("/dev/shm" (share `("/dev/shm"