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