-
-
Notifications
You must be signed in to change notification settings - Fork 662
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added omen 16-n0005ne profile * removed /common/pc/ssd * added /common/pc/ssd * removed /common/pc/laptop from omen 16 config * added /common/pc/laptop * Merge remote-tracking branch 'upstream/master' * Merge remote-tracking branch 'upstream/master' * chore: Add DELL XPS 9510 * chore: Add Dell XPS 15 9510 * starfive visionfive2: update u-boot to SDK version v3.7.5 * added omen 16-n0005ne profile * removed /common/pc/ssd * added /common/pc/ssd * removed /common/pc/laptop from omen 16 config * added /common/pc/laptop * Merge branch 'master' of github.com:GamingTesh/nixos-hardware * fixed error in flake.nix caused by git
- Loading branch information
1 parent
c2bbfcf
commit c1ebe3b
Showing
4 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# HP Omen 16-n0005ne | ||
|
||
## 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 file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ lib, pkgs, ... }: | ||
|
||
{ | ||
imports = [ | ||
../../common/cpu/amd | ||
../../common/gpu/amd | ||
../../common/pc/laptop | ||
../../common/pc/ssd | ||
]; | ||
|
||
# Enables ACPI platform profiles | ||
boot = lib.mkIf (lib.versionAtLeast pkgs.linux.version "6.1") { | ||
kernelModules = [ "hp-wmi" ]; | ||
}; | ||
} |