Skip to content

Commit

Permalink
Merge pull request #137 from mishudark/x280
Browse files Browse the repository at this point in the history
Add Lenovo ThinkPad X280 profile
  • Loading branch information
Mic92 authored Dec 31, 2019
2 parents c3b2ac6 + 1d746f2 commit 89c4ddb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ See code for all available configurations.
| Lenovo ThinkPad X250 | `<nixos-hardware/lenovo/thinkpad/x250>` |
| [Lenovo ThinkPad X260][] | `<nixos-hardware/lenovo/thinkpad/x260>` |
| Lenovo ThinkPad X270 | `<nixos-hardware/lenovo/thinkpad/x270>` |
| Lenovo ThinkPad X280 | `<nixos-hardware/lenovo/thinkpad/x280>` |
| [Lenovo ThinkPad X1 (6th Gen)][] | `<nixos-hardware/lenovo/thinkpad/x1/6th-gen>` |
| Lenovo ThinkPad X1 Extreme Gen 2 | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen2>` |
| [Microsoft Surface Pro 3][] | `<nixos-hardware/microsoft/surface-pro/3>` |
Expand Down
12 changes: 12 additions & 0 deletions lenovo/thinkpad/x280/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{ config, pkgs, lib, ... }:

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

services.throttled.enable = lib.mkDefault true;
}
1 change: 1 addition & 0 deletions release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ in
lenovo-thinkpad-x230 = buildProfile ./lenovo/thinkpad/x230;
lenovo-thinkpad-x250 = buildProfile ./lenovo/thinkpad/x250;
lenovo-thinkpad-x260 = buildProfile ./lenovo/thinkpad/x260;
lenovo-thinkpad-x280 = buildProfile ./lenovo/thinkpad/x280;

microsoft-surface-pro-3 = buildProfile ./microsoft/surface-pro/3;

Expand Down

0 comments on commit 89c4ddb

Please sign in to comment.