mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-26 18:35:19 +01:00
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:
parent
34a5130517
commit
d86c1d94d2
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue