mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-02 15:59:43 +01:00
2d54ea30cf
This does not compile against 6.x Kernel. This is also no longer necessary for 6.x Kernel. One can use "acpi_video0" device instead of "mba6x_backlight" device.
14 lines
230 B
Nix
14 lines
230 B
Nix
{ config, lib, ... }:
|
|
|
|
{
|
|
imports = [ ../. ];
|
|
|
|
boot = {
|
|
# Divides power consumption by two.
|
|
kernelParams = [ "acpi_osi=" ];
|
|
};
|
|
|
|
services.xserver.deviceSection = lib.mkDefault ''
|
|
Option "TearFree" "true"
|
|
'';
|
|
}
|