mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-09 16:16:21 +01:00
Removed hdd, Added hidpi, Organized imports
This commit is contained in:
parent
6c2aafaef3
commit
eff85ec002
20
omen/15-ek1013dx/default.nix
Normal file → Executable file
20
omen/15-ek1013dx/default.nix
Normal file → Executable file
|
|
@ -3,11 +3,27 @@
|
|||
{
|
||||
imports = [
|
||||
../../common/cpu/intel/comet-lake
|
||||
../../common/gpu/nvidia/prime.nix
|
||||
../../common/gpu/nvidia/ampere
|
||||
../../common/pc/laptop
|
||||
../../common/pc/laptop/ssd
|
||||
../../common/pc/laptop/hdd
|
||||
../../common/hidpi.nix
|
||||
];
|
||||
|
||||
boot.kernelModules = [ "hp-wmi" ];
|
||||
# Enables ACPI platform profiles
|
||||
boot = lib.mkIf (lib.versionAtLeast pkgs.linux.version "6.1") {
|
||||
kernelModules = [ "hp-wmi" ];
|
||||
};
|
||||
|
||||
# Since this is a laptop, enable the thermal daemon.
|
||||
# NOTE: Users may want to add lm-sensors and cpufreq-utils to system packages
|
||||
services.thermald.enable = lib.mkDefault true;
|
||||
|
||||
# Enables Wifi and Bluetooth
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
hardware.nvidia.prime = {
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
intelBusId = "PCI:0:2:0";
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue