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
|
||||
(inherit os)
|
||||
(kernel-arguments
|
||||
`("modprobe.blacklist=nouveau"
|
||||
,@(if kernel-mode-setting?
|
||||
'("nvidia_drm.modeset=1")
|
||||
'())
|
||||
,@(operating-system-user-kernel-arguments os)))
|
||||
(cons* "modprobe.blacklist=nouveau"
|
||||
(string-append
|
||||
"nvidia_drm.modeset=" (if kernel-mode-setting? "1" "0"))
|
||||
(operating-system-user-kernel-arguments os)))
|
||||
(services
|
||||
`(,(or (assoc-ref %presets driver)
|
||||
(leave
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue