mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
10 lines
274 B
Nix
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"
|
|
];
|
|
}
|