Add Lenovo ThinkPad X280 profile

This commit is contained in:
mishudark 2019-12-31 12:43:42 +01:00
parent c3b2ac63ff
commit 1d746f2298
3 changed files with 14 additions and 0 deletions

View File

@ -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>` |

View File

@ -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;
}

View File

@ -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;