mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 00:37:14 +08:00
The common/pc/laptop/ssd folder was apparently moved a level up and was replaced by a symlink to keep things working. We can consolidate this now.
26 lines
716 B
Nix
26 lines
716 B
Nix
{ config, lib, ... }:
|
|
{
|
|
imports = [
|
|
../../../../common/cpu/intel
|
|
../../../../common/pc/laptop
|
|
../../../../common/pc/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 config.boot.kernelPackages.kernel.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;
|
|
}
|