1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 12:01:06 +01:00

fix(homeros): backlight device section

This commit is contained in:
Kierán Meinhardt
2020-09-10 16:35:48 +02:00
parent 90fe107176
commit e9faa01e1b

View File

@@ -31,14 +31,9 @@
# ref https://askubuntu.com/questions/575020/ubuntu-14-04-brightness-problem-lenovo-z500 # ref https://askubuntu.com/questions/575020/ubuntu-14-04-brightness-problem-lenovo-z500
boot.kernelParams = [ "acpi_backlight=vendor" ]; boot.kernelParams = [ "acpi_backlight=vendor" ];
environment.etc."X11/xorg.conf.d/80-backlight.conf".text = '' services.xserver.deviceSection = ''
Section "Device" Option "Backlight" "ideapad"
Identifier "Intel Graphics" BusID "PCI:0:2:0"
Driver "intel"
Option "AccelMethod" "sna"
Option "Backlight" "ideapad"
BusID "PCI:0:2:0"
EndSection
''; '';
services.xserver.videoDrivers = [ "intel" ]; services.xserver.videoDrivers = [ "intel" ];