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