nixos-hardware/dell/xps/15-7590/default.nix

25 lines
576 B
Nix
Raw Normal View History

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