From 08add92f1745edd3418b1ea017f8732735a9d9b9 Mon Sep 17 00:00:00 2001 From: the-furry-hubofeverything <53921912+the-furry-hubofeverything@users.noreply.github.com> Date: Sat, 23 Sep 2023 14:55:33 -0700 Subject: [PATCH] Enabling hp-wmi driver after PR merge nixos/nixpkgs#255846 --- omen/15-en0010ca/README.md | 4 +--- omen/15-en0010ca/default.nix | 7 +++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/omen/15-en0010ca/README.md b/omen/15-en0010ca/README.md index f5a10ba..fae3e0d 100644 --- a/omen/15-en0010ca/README.md +++ b/omen/15-en0010ca/README.md @@ -1,6 +1,4 @@ # HP Omen 15-en0001ca ## 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`. - -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). \ No newline at end of file +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`. \ No newline at end of file diff --git a/omen/15-en0010ca/default.nix b/omen/15-en0010ca/default.nix index a69ca78..de1eee2 100644 --- a/omen/15-en0010ca/default.nix +++ b/omen/15-en0010ca/default.nix @@ -10,10 +10,9 @@ ]; # Enables ACPI platform profiles - # TODO - enable module after PR merge - # boot = lib.mkIf (lib.versionAtLeast pkgs.linux.version "6.1") { - # kernelModules = [ "hp-wmi" ]; - # }; + boot = lib.mkIf (lib.versionAtLeast pkgs.linux.version "6.1") { + kernelModules = [ "hp-wmi" ]; + }; hardware.nvidia.prime = { amdgpuBusId = "PCI:7:0:0";