mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 08:47:13 +08:00
gu605my: enable zeph g16 backlight control
This commit is contained in:
committed by
mergify[bot]
parent
342b1b319d
commit
f1e52a0181
@@ -7,6 +7,7 @@
|
||||
../../../common/gpu/nvidia/ada-lovelace
|
||||
../../../common/pc/laptop
|
||||
../../../common/pc/laptop/ssd
|
||||
../shared/backlight.nix
|
||||
];
|
||||
|
||||
hardware.nvidia = {
|
||||
|
||||
9
asus/zephyrus/shared/backlight.nix
Normal file
9
asus/zephyrus/shared/backlight.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ ... }:
|
||||
{
|
||||
# These flags are used to enable backlight control when the dGPU is working in hybrid mode
|
||||
boot.kernelParams = [
|
||||
"i915.enable_dpcd_backlight=1"
|
||||
"nvidia.NVreg_EnableBacklightHandler=0"
|
||||
"nvidia.NVReg_RegistryDwords=EnableBrightnessControl=0"
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user