2017-12-26 21:54:10 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
2017-12-27 07:28:30 +00:00
|
|
|
{
|
2017-12-26 21:54:10 +00:00
|
|
|
imports = [
|
|
|
|
../.
|
|
|
|
../../../common/cpu/intel
|
2018-10-19 15:52:25 +00:00
|
|
|
../../../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
|
|
|
}
|