config/guix/system/laptop-mimimi: Properly blacklist nouveau.
parent
d96878b33b
commit
d2b8b25d97
|
@ -90,6 +90,7 @@ EndSection")
|
|||
(xorg-configuration
|
||||
(modules (list xf86-video-vesa
|
||||
xf86-video-intel
|
||||
;; xf86-video-nouveau ; Make sure this is on if the 'nouveau' kernel module is loaded.
|
||||
xf86-input-libinput))
|
||||
(extra-config (list %mimimi/xorg-touchpad)))))))))
|
||||
|
||||
|
@ -153,6 +154,14 @@ EndSection")
|
|||
(host-name "mimimi")
|
||||
|
||||
(kernel linux)
|
||||
;; (kernel linux-xiaomi-air-13)
|
||||
;; To disable the Nvidia, first make sure nouveau is not loaded then call
|
||||
;; sudo tee /proc/acpi/bbswitch <<<OFF
|
||||
;; Check the result with
|
||||
;; sudo dmesg | grep bbswitch
|
||||
;; It saves about 1h of battery.
|
||||
;; TODO: Automate the bbswitch command when the Guix package is merged.
|
||||
(kernel-arguments '("modprobe.blacklist=nouveau"))
|
||||
|
||||
(mapped-devices drive-mapping)
|
||||
|
||||
|
|
Loading…
Reference in New Issue