Skip to content

Commit

Permalink
HP Elitebook 830 G6 (#904)
Browse files Browse the repository at this point in the history
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
  • Loading branch information
nikolarobottesla and Mic92 committed Apr 30, 2024
1 parent 53db5e1 commit cdbb5bb
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ See code for all available configurations.
| [GPD WIN Max 2 2023](gpd/win-max-2/2023) | `<nixos-hardware/gpd/win-max-2/2023>` |
| [Google Pixelbook](google/pixelbook) | `<nixos-hardware/google/pixelbook>` |
| [HP Elitebook 2560p](hp/elitebook/2560p) | `<nixos-hardware/hp/elitebook/2560p>` |
| [HP Elitebook 830g6](hp/elitebook/830/g6) | `<nixos-hardware/hp/elitebook/830/g6>` |
| [HP Elitebook 845g7](hp/elitebook/845/g7) | `<nixos-hardware/hp/elitebook/845/g7>` |
| [HP Elitebook 845g8](hp/elitebook/845/g8) | `<nixos-hardware/hp/elitebook/845/g8>` |
| [HP Elitebook 845g9](hp/elitebook/845/g9) | `<nixos-hardware/hp/elitebook/845/g9>` |
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
gpd-win-2 = import ./gpd/win-2;
gpd-win-max-2-2023 = import ./gpd/win-max-2/2023;
hp-elitebook-2560p = import ./hp/elitebook/2560p;
hp-elitebook-830g6 = import ./hp/elitebook/830/g6;
hp-elitebook-845g7 = import ./hp/elitebook/845/g7;
hp-elitebook-845g8 = import ./hp/elitebook/845/g8;
hp-elitebook-845g9 = import ./hp/elitebook/845/g9;
Expand Down
8 changes: 8 additions & 0 deletions hp/elitebook/830/g6/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# HP Elitebook 830 G6

## solved problems
* KDE Plasma 5 (haven't tested others), ~20% of the time freezes at login screen on resume - setting hardare.enableAllFirmware seems to fix

## Unsolved Problems

* sometimes fails to sleep (seems to be an application causing it, so probably not a driver/kernel problem)
26 changes: 26 additions & 0 deletions hp/elitebook/830/g6/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ pkgs, lib, ... }:
{
imports = [
../../../../common/cpu/intel
../../../../common/pc/laptop
../../../../common/pc/laptop/acpi_call.nix
../../../../common/pc/laptop/ssd
];

# Needed for wifi
hardware.enableRedistributableFirmware = lib.mkDefault true;

# Cooling management
services.thermald.enable = lib.mkDefault true;

# Allows for updating firmware via `fwupdmgr`.
services.fwupd.enable = lib.mkDefault true;

# Enables ACPI platform profiles
boot = lib.mkIf (lib.versionAtLeast pkgs.linux.version "6.1") {
kernelModules = [ "hp-wmi" ];
};

# reduces warnings/errors in boot log, seems to eliminate the ocassional boot hangs described in readme
hardware.enableAllFirmware = lib.mkDefault true;
}

0 comments on commit cdbb5bb

Please sign in to comment.