2023-02-25 19:57:50 +01:00
|
|
|
{ lib, ... }:
|
|
|
|
|
2021-04-25 07:03:51 +02:00
|
|
|
{
|
2019-07-18 21:19:31 +02:00
|
|
|
imports = [
|
|
|
|
../../../common/cpu/intel
|
|
|
|
../../../common/pc/laptop
|
2019-08-17 08:08:08 +02:00
|
|
|
../../../common/pc/ssd
|
2019-07-18 21:19:31 +02:00
|
|
|
];
|
|
|
|
|
2023-02-28 12:09:36 +01:00
|
|
|
# Force S3 sleep mode. See README.wiki for details.
|
|
|
|
boot.kernelParams = [ "mem_sleep_default=deep" ];
|
2020-02-07 15:55:01 +01:00
|
|
|
|
2020-02-02 03:11:31 +01:00
|
|
|
# Earlier font-size setup
|
|
|
|
console.earlySetup = true;
|
|
|
|
|
|
|
|
# Prevent small EFI partiion from filling up
|
|
|
|
boot.loader.grub.configurationLimit = 10;
|
|
|
|
|
2023-02-28 12:09:36 +01:00
|
|
|
# Enable firmware updates via `fwupdmgr`.
|
|
|
|
services.fwupd.enable = lib.mkDefault true;
|
|
|
|
|
2023-02-25 19:57:50 +01:00
|
|
|
# This will save you money and possibly your life!
|
|
|
|
services.thermald.enable = lib.mkDefault true;
|
2019-07-18 21:19:31 +02:00
|
|
|
}
|