mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
fix(homeros): nvidia
This commit is contained in:
@@ -22,12 +22,24 @@
|
||||
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
boot.kernelParams = [
|
||||
"acpi_backlight=none"
|
||||
"acpi_backlight=video"
|
||||
"acpi_backlight=vendor"
|
||||
"acpi_backlight=native"
|
||||
];
|
||||
# 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
|
||||
'';
|
||||
|
||||
hardware.bumblebee = {
|
||||
enable = true;
|
||||
connectDisplay = true;
|
||||
};
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
services.xserver.videoDrivers = [ "intel" "nvidia" ];
|
||||
|
||||
networking.hostName = "homeros";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user