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

25 lines
576 B
Nix
Raw Normal View History

2023-02-25 13:57:50 -05:00
{ lib, ... }:
2021-04-25 01:03:51 -04:00
{
2019-07-18 15:19:31 -04:00
imports = [
../../../common/cpu/intel
../../../common/pc/laptop
2019-08-17 02:08:08 -04:00
../../../common/pc/ssd
2019-07-18 15:19:31 -04:00
];
# Force S3 sleep mode. See README.wiki for details.
boot.kernelParams = [ "mem_sleep_default=deep" ];
2020-02-01 21:11:31 -05: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 13:57:50 -05:00
# This will save you money and possibly your life!
services.thermald.enable = lib.mkDefault true;
2019-07-18 15:19:31 -04:00
}