mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2025-10-02 02:14:59 +00:00
transformations: nvidia: Set nvidia_drm.modeset explicitly.
* nonguix/transformations.scm (nonguix-transformation-nvidia): Set nvidia_drm.modeset to 0 when kernel-mode-setting? is #f.
This commit is contained in:
parent
473e5a62cd
commit
5c13dbf132
1 changed files with 4 additions and 5 deletions
|
@ -128,11 +128,10 @@ TODO: Xorg configuration."
|
||||||
(operating-system
|
(operating-system
|
||||||
(inherit os)
|
(inherit os)
|
||||||
(kernel-arguments
|
(kernel-arguments
|
||||||
`("modprobe.blacklist=nouveau"
|
(cons* "modprobe.blacklist=nouveau"
|
||||||
,@(if kernel-mode-setting?
|
(string-append
|
||||||
'("nvidia_drm.modeset=1")
|
"nvidia_drm.modeset=" (if kernel-mode-setting? "1" "0"))
|
||||||
'())
|
(operating-system-user-kernel-arguments os)))
|
||||||
,@(operating-system-user-kernel-arguments os)))
|
|
||||||
(services
|
(services
|
||||||
`(,(or (assoc-ref %presets driver)
|
`(,(or (assoc-ref %presets driver)
|
||||||
(leave
|
(leave
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue