mirror of
https://github.com/kmein/niveum
synced 2026-03-21 04:11:07 +01:00
fix(homeros): nvidia
This commit is contained in:
@@ -22,12 +22,24 @@
|
|||||||
|
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
boot.kernelParams = [
|
# ref https://askubuntu.com/questions/575020/ubuntu-14-04-brightness-problem-lenovo-z500
|
||||||
"acpi_backlight=none"
|
boot.kernelParams = [ "acpi_backlight=vendor" ];
|
||||||
"acpi_backlight=video"
|
environment.etc."X11/xorg.conf.d/80-backlight.conf".text = ''
|
||||||
"acpi_backlight=vendor"
|
Section "Device"
|
||||||
"acpi_backlight=native"
|
Identifier "Intel Graphics"
|
||||||
];
|
Driver "intel"
|
||||||
|
Option "AccelMethod" "sna"
|
||||||
|
Option "Backlight" "ideapad"
|
||||||
|
BusID "PCI:0:2:0"
|
||||||
|
EndSection
|
||||||
|
'';
|
||||||
|
|
||||||
|
hardware.bumblebee = {
|
||||||
|
enable = true;
|
||||||
|
connectDisplay = true;
|
||||||
|
};
|
||||||
|
hardware.opengl.driSupport32Bit = true;
|
||||||
|
services.xserver.videoDrivers = [ "intel" "nvidia" ];
|
||||||
|
|
||||||
networking.hostName = "homeros";
|
networking.hostName = "homeros";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user