From e9faa01e1b1e95878c35a7a5e6a62bcd3f4110d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Thu, 10 Sep 2020 16:35:48 +0200 Subject: [PATCH] fix(homeros): backlight device section --- systems/homeros/configuration.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/systems/homeros/configuration.nix b/systems/homeros/configuration.nix index 00a3ed6..9636ff5 100644 --- a/systems/homeros/configuration.nix +++ b/systems/homeros/configuration.nix @@ -31,14 +31,9 @@ # ref https://askubuntu.com/questions/575020/ubuntu-14-04-brightness-problem-lenovo-z500 boot.kernelParams = [ "acpi_backlight=vendor" ]; - environment.etc."X11/xorg.conf.d/80-backlight.conf".text = '' - Section "Device" - Identifier "Intel Graphics" - Driver "intel" - Option "AccelMethod" "sna" - Option "Backlight" "ideapad" - BusID "PCI:0:2:0" - EndSection + services.xserver.deviceSection = '' + Option "Backlight" "ideapad" + BusID "PCI:0:2:0" ''; services.xserver.videoDrivers = [ "intel" ];