We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 342b1b3 commit f1e52a0Copy full SHA for f1e52a0
asus/zephyrus/gu605my/default.nix
@@ -7,6 +7,7 @@
7
../../../common/gpu/nvidia/ada-lovelace
8
../../../common/pc/laptop
9
../../../common/pc/laptop/ssd
10
+ ../shared/backlight.nix
11
];
12
13
hardware.nvidia = {
asus/zephyrus/shared/backlight.nix
@@ -0,0 +1,9 @@
1
+{ ... }:
2
+{
3
+ # These flags are used to enable backlight control when the dGPU is working in hybrid mode
4
+ boot.kernelParams = [
5
+ "i915.enable_dpcd_backlight=1"
6
+ "nvidia.NVreg_EnableBacklightHandler=0"
+ "nvidia.NVReg_RegistryDwords=EnableBrightnessControl=0"
+ ];
+}
0 commit comments