mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-09 20:49:40 +01:00
14 lines
222 B
Nix
14 lines
222 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
imports = [ ../. ];
|
|
|
|
boot = {
|
|
# Divides power consumption by two.
|
|
kernelParams = [ "acpi_osi=" ];
|
|
};
|
|
|
|
services.xserver.deviceSection = lib.mkDefault ''
|
|
Option "TearFree" "true"
|
|
'';
|
|
}
|