Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ See code for all available configurations.
| [HP Laptop 15s-fq1xxx](hp/laptop/15s-fq1xxx) | `<nixos-hardware/hp/laptop/15s-fq1xxx>` | `hp-laptop-15s-fq1xxx` |
| [HP Notebook 14-df0023](hp/notebook/14-df0023) | `<nixos-hardware/hp/notebook/14-df0023>` | `hp-notebook-14-df0023` |
| [HP Probook 440G5](hp/probook/440G5) | `<nixos-hardware/hp/probook/440G5>` | `hp-probook-440G5` |
| [HP ZBook X G1i](hp/zbook/x/g1i) | `<nixos-hardware/hp/zbook/x/g1i>` | `hp-zbook-x-g1i` |
| [HP Laptop 14s-dq2024nf](hp/laptop/14s-dq2024nf) | `<nixos-hardware/hp/laptop/14s-dq2024nf>` | `hp-laptop-14s-dq2024nf` |
| [HP Probook 460G11](hp/probook/460g11) | `<nixos-hardware/hp/probook/460g11>` | `hp-probook-46011` |
| [Huawei Matebook X Pro (2020)](huawei/machc-wa) | `<nixos-hardware/huawei/machc-wa>` | `huawei-machc-wa` |
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@
hp-elitebook-845g9 = import ./hp/elitebook/845/g9;
hp-probook-440G5 = import ./hp/probook/440G5;
hp-probook-460G11 = import ./hp/probook/460G11;
hp-zbook-x-g1i = import ./hp/zbook/x/g1i;
hp-laptop-14s-dq2024nf = import ./hp/laptop/14s-dq2024nf;
hp-laptop-15s-fq1xxx = import ./hp/laptop/15s-fq1xxx;
huawei-machc-wa = import ./huawei/machc-wa;
Expand Down
36 changes: 36 additions & 0 deletions hp/zbook/x/g1i/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
config,
lib,
pkgs,
...
}:

{
imports = [
../../../../common/cpu/intel
../../../../common/pc
../../../../common/pc/laptop
../../../../common/pc/ssd
];

hardware = {
enableRedistributableFirmware = lib.mkDefault true;
intelgpu.vaapiDriver = lib.mkDefault "intel-media-driver";
};

services = {
fwupd.enable = lib.mkDefault true;
hardware.bolt.enable = lib.mkDefault true;
thermald.enable = lib.mkDefault true;
};

# Arrow Lake support on this machine is still moving quickly upstream.
boot = {
kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.17") (
lib.mkDefault pkgs.linuxPackages_latest
);

# Enables ACPI platform profiles.
kernelModules = lib.mkIf (lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.1") [ "hp-wmi" ];
};
}
Loading