mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 19:46:10 +01:00
gu605my: enable zeph g16 backlight control
This commit is contained in:
parent
342b1b319d
commit
f1e52a0181
2 changed files with 10 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
||||||
../../../common/gpu/nvidia/ada-lovelace
|
../../../common/gpu/nvidia/ada-lovelace
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/laptop/ssd
|
||||||
|
../shared/backlight.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.nvidia = {
|
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"
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue