nixos-hardware/lenovo/thinkpad/x230/default.nix
2020-04-21 03:47:11 +02:00

26 lines
403 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [
../.
../../../common/cpu/intel
../../../common/pc/laptop/acpi_call.nix
];
boot = {
kernelModules = [
"tpm-rng"
];
};
services.xserver.deviceSection = lib.mkDefault ''
Option "TearFree" "true"
'';
services.tlp.extraConfig = lib.mkDefault ''
START_CHARGE_THRESH_BAT0=67
STOP_CHARGE_THRESH_BAT0=100
'';
}