2017-12-24 13:30:41 +01:00
|
|
|
{ lib, ... }:
|
2016-03-05 20:04:24 +01:00
|
|
|
|
|
|
|
{
|
2017-12-25 00:21:05 +01:00
|
|
|
imports = [
|
|
|
|
../../../common/cpu/intel
|
|
|
|
../../../common/pc/laptop
|
|
|
|
];
|
|
|
|
|
|
|
|
# TODO: boot loader
|
2017-12-24 13:30:41 +01:00
|
|
|
boot.loader.systemd-boot.enable = lib.mkDefault true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = lib.mkDefault true;
|
2016-03-05 20:04:24 +01:00
|
|
|
|
2019-10-27 09:02:50 +01:00
|
|
|
# This will save you money and possibly your life!
|
|
|
|
services.thermald.enable = true;
|
|
|
|
|
2017-12-24 13:30:41 +01:00
|
|
|
# To just use Intel integrated graphics with Intel's open source driver
|
2016-03-05 20:04:24 +01:00
|
|
|
# hardware.nvidiaOptimus.disable = true;
|
|
|
|
}
|