1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-05 10:39:42 +01:00
nixos-hardware/dell/xps/15-7590/default.nix

25 lines
576 B
Nix
Raw Normal View History

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
];
# Force S3 sleep mode. See README.wiki for details.
boot.kernelParams = [ "mem_sleep_default=deep" ];
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;
# 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
}