mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-30 06:49:43 +01:00
omen/14-fb0798ng: init
This commit is contained in:
parent
0a944f8c68
commit
2a964239f6
4 changed files with 29 additions and 0 deletions
|
@ -268,6 +268,7 @@ See code for all available configurations.
|
||||||
| [NXP iMX8 MQuad Evaluation Kit](nxp/imx8mq-evk) | `<nixos-hardware/nxp/imx8mq-evk>` |
|
| [NXP iMX8 MQuad Evaluation Kit](nxp/imx8mq-evk) | `<nixos-hardware/nxp/imx8mq-evk>` |
|
||||||
| [Hardkernel Odroid HC4](hardkernel/odroid-hc4/default.nix) | `<nixos-hardware/hardkernel/odroid-hc4>` |
|
| [Hardkernel Odroid HC4](hardkernel/odroid-hc4/default.nix) | `<nixos-hardware/hardkernel/odroid-hc4>` |
|
||||||
| [Hardkernel Odroid H3](hardkernel/odroid-h3/default.nix) | `<nixos-hardware/hardkernel/odroid-h3>` |
|
| [Hardkernel Odroid H3](hardkernel/odroid-h3/default.nix) | `<nixos-hardware/hardkernel/odroid-h3>` |
|
||||||
|
| [Omen 15-en0010ca](omen/14-fb0798ng) | `<nixos-hardware/omen/14-fb0798ng>` |
|
||||||
| [Omen 15-en0010ca](omen/15-en0010ca) | `<nixos-hardware/omen/15-en0010ca>` |
|
| [Omen 15-en0010ca](omen/15-en0010ca) | `<nixos-hardware/omen/15-en0010ca>` |
|
||||||
| [Omen 16-n0005ne](omen/16-n0005ne) | `<nixos-hardware/omen/16-n0005ne>` |
|
| [Omen 16-n0005ne](omen/16-n0005ne) | `<nixos-hardware/omen/16-n0005ne>` |
|
||||||
| [Omen 15-en1007sa](omen/15-en1007sa) | `<nixos-hardware/omen/15-en1007sa>` |
|
| [Omen 15-en1007sa](omen/15-en1007sa) | `<nixos-hardware/omen/15-en1007sa>` |
|
||||||
|
|
|
@ -208,6 +208,7 @@
|
||||||
nxp-imx8qm-mek = import ./nxp/imx8qm-mek;
|
nxp-imx8qm-mek = import ./nxp/imx8qm-mek;
|
||||||
hardkernel-odroid-hc4 = import ./hardkernel/odroid-hc4;
|
hardkernel-odroid-hc4 = import ./hardkernel/odroid-hc4;
|
||||||
hardkernel-odroid-h3 = import ./hardkernel/odroid-h3;
|
hardkernel-odroid-h3 = import ./hardkernel/odroid-h3;
|
||||||
|
omen-14-fb0798ng = import ./omen/14-fb0798ng;
|
||||||
omen-15-en0010ca = import ./omen/15-en0010ca;
|
omen-15-en0010ca = import ./omen/15-en0010ca;
|
||||||
omen-16-n0005ne = import ./omen/16-n0005ne;
|
omen-16-n0005ne = import ./omen/16-n0005ne;
|
||||||
omen-15-en1007sa = import ./omen/15-en1007sa;
|
omen-15-en1007sa = import ./omen/15-en1007sa;
|
||||||
|
|
4
omen/14-fb0798ng/README.md
Normal file
4
omen/14-fb0798ng/README.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# HP Omen 14-fb0798ng
|
||||||
|
|
||||||
|
## 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`.
|
23
omen/14-fb0798ng/default.nix
Normal file
23
omen/14-fb0798ng/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../common/cpu/intel
|
||||||
|
../../common/gpu/nvidia/prime.nix
|
||||||
|
../../common/pc/laptop
|
||||||
|
../../common/pc/ssd
|
||||||
|
];
|
||||||
|
|
||||||
|
# Enables ACPI platform profiles
|
||||||
|
boot = lib.mkIf (lib.versionAtLeast pkgs.linux.version "6.1") {
|
||||||
|
kernelModules = [ "hp-wmi" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
# Enables Wifi and Bluetooth
|
||||||
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|
||||||
|
hardware.nvidia.prime = {
|
||||||
|
intelBusId = "PCI:0:2:0";
|
||||||
|
nvidiaBusId = "PCI:1:0:0";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue