2018-05-15 15:46:41 +02:00
|
|
|
{ lib, pkgs, ... }:
|
2018-05-15 18:54:18 +02:00
|
|
|
|
2020-07-26 12:59:49 +02:00
|
|
|
{
|
2018-05-15 15:46:41 +02:00
|
|
|
imports = [
|
2018-05-15 18:54:18 +02:00
|
|
|
../../../common/cpu/intel/kaby-lake
|
2018-05-15 15:46:41 +02:00
|
|
|
../../../common/pc/laptop
|
|
|
|
];
|
|
|
|
|
2018-05-15 18:54:18 +02:00
|
|
|
boot.blacklistedKernelModules = [ "psmouse" ]; # touchpad goes over i2c
|
2018-05-15 15:46:41 +02:00
|
|
|
|
2018-05-15 18:54:18 +02:00
|
|
|
# TODO: decide on boot loader policy
|
|
|
|
boot.loader = {
|
|
|
|
efi.canTouchEfiVariables = lib.mkDefault true;
|
|
|
|
systemd-boot.enable = lib.mkDefault true;
|
2018-05-15 15:46:41 +02:00
|
|
|
};
|
2019-10-27 09:02:50 +01:00
|
|
|
|
|
|
|
# This will save you money and possibly your life!
|
|
|
|
services.thermald.enable = true;
|
2018-05-15 15:46:41 +02:00
|
|
|
}
|