mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 17:38:41 +08:00
init: omen-16-n0005ne (#749)
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
This commit is contained in:
4
omen/16-n0005ne/README.md
Normal file
4
omen/16-n0005ne/README.md
Normal file
@@ -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`.
|
||||
15
omen/16-n0005ne/default.nix
Normal file
15
omen/16-n0005ne/default.nix
Normal file
@@ -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" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user