Files
nixos-hardware/asus/zephyrus/shared/backlight.nix
2025-04-29 06:11:24 +00:00

10 lines
274 B
Nix

{ ... }:
{
# 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"
];
}