mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2026-01-25 03:54:58 -06:00
transformations: nvidia: Apply ‘replace-mesa’ to system packages and services.
* nonguix/transformations.scm (nonguix-transformation-nvidia) [packages] [services]: Apply ‘replace-mesa’.
This commit is contained in:
parent
0a9374f1f4
commit
a6376bff79
1 changed files with 9 additions and 5 deletions
|
|
@ -138,9 +138,13 @@ TODO: Xorg configuration."
|
|||
(remove
|
||||
(cut string-prefix? "nvidia_drm.modeset=" <>)
|
||||
(operating-system-user-kernel-arguments os)))))
|
||||
(packages
|
||||
(replace-mesa (operating-system-packages os) #:driver driver))
|
||||
(services
|
||||
`(,(or (assoc-ref %presets driver)
|
||||
(leave
|
||||
(G_ "no NVIDIA service configuration available for '~a'~%")
|
||||
(package-name driver)))
|
||||
,@(operating-system-user-services os))))))
|
||||
(replace-mesa
|
||||
`(,(or (assoc-ref %presets driver)
|
||||
(leave
|
||||
(G_ "no NVIDIA service configuration available for '~a'~%")
|
||||
(package-name driver)))
|
||||
,@(operating-system-user-services os))
|
||||
#:driver driver)))))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue