mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +01:00
parent
061785322d
commit
08add92f17
2 changed files with 4 additions and 7 deletions
|
@ -1,6 +1,4 @@
|
||||||
# HP Omen 15-en0001ca
|
# HP Omen 15-en0001ca
|
||||||
|
|
||||||
## ACPI platform profiles
|
## ACPI platform profiles
|
||||||
This config enables `hp-wmi`, which allows switch between cool, balanced, and performance modes on the platform EC, used by power management tools like `power-profile-daemon` and `tlp`.
|
This config enables `hp-wmi`, which allows switch between cool, balanced, and performance modes on the platform EC, used by power management tools like `power-profile-daemon` and `tlp`.
|
||||||
|
|
||||||
Note - this is not yet compiled on Nixpkgs provided Kernels as of September 2023. See [the relevant PR](https://github.com/NixOS/nixpkgs/pull/255846).
|
|
|
@ -10,10 +10,9 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enables ACPI platform profiles
|
# Enables ACPI platform profiles
|
||||||
# TODO - enable module after PR merge
|
boot = lib.mkIf (lib.versionAtLeast pkgs.linux.version "6.1") {
|
||||||
# boot = lib.mkIf (lib.versionAtLeast pkgs.linux.version "6.1") {
|
kernelModules = [ "hp-wmi" ];
|
||||||
# kernelModules = [ "hp-wmi" ];
|
};
|
||||||
# };
|
|
||||||
|
|
||||||
hardware.nvidia.prime = {
|
hardware.nvidia.prime = {
|
||||||
amdgpuBusId = "PCI:7:0:0";
|
amdgpuBusId = "PCI:7:0:0";
|
||||||
|
|
Loading…
Reference in a new issue