1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-08 12:09:40 +01:00
nixos-hardware/hp/elitebook/830/g6/default.nix
Milo Oien-Rochat cdbb5bb040
HP Elitebook 830 G6 (#904)
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2024-04-30 10:09:35 +02:00

26 lines
745 B
Nix

{ pkgs, lib, ... }:
{
imports = [
../../../../common/cpu/intel
../../../../common/pc/laptop
../../../../common/pc/laptop/acpi_call.nix
../../../../common/pc/laptop/ssd
];
# Needed for wifi
hardware.enableRedistributableFirmware = lib.mkDefault true;
# Cooling management
services.thermald.enable = lib.mkDefault true;
# Allows for updating firmware via `fwupdmgr`.
services.fwupd.enable = lib.mkDefault true;
# Enables ACPI platform profiles
boot = lib.mkIf (lib.versionAtLeast pkgs.linux.version "6.1") {
kernelModules = [ "hp-wmi" ];
};
# reduces warnings/errors in boot log, seems to eliminate the ocassional boot hangs described in readme
hardware.enableAllFirmware = lib.mkDefault true;
}