nixos-hardware/lenovo/thinkpad/x230/default.nix

26 lines
403 B
Nix
Raw Normal View History

2017-12-26 21:54:10 +00:00
{ config, lib, pkgs, ... }:
{
2017-12-26 21:54:10 +00:00
imports = [
../.
../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
2017-12-26 21:54:10 +00:00
];
boot = {
kernelModules = [
"tpm-rng"
];
};
2018-01-29 13:30:43 +00:00
services.xserver.deviceSection = lib.mkDefault ''
Option "TearFree" "true"
'';
2020-04-21 00:54:18 +00:00
services.tlp.extraConfig = lib.mkDefault ''
START_CHARGE_THRESH_BAT0=67
STOP_CHARGE_THRESH_BAT0=100
'';
2017-12-26 21:54:10 +00:00
}