Merge pull request #137 from mishudark/x280

Add Lenovo ThinkPad X280 profile
This commit is contained in:
Jörg Thalheim 2019-12-31 16:15:24 +00:00 committed by GitHub
commit 89c4ddb0e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 X250 | `<nixos-hardware/lenovo/thinkpad/x250>` |
| [Lenovo ThinkPad X260][] | `<nixos-hardware/lenovo/thinkpad/x260>` | | [Lenovo ThinkPad X260][] | `<nixos-hardware/lenovo/thinkpad/x260>` |
| Lenovo ThinkPad X270 | `<nixos-hardware/lenovo/thinkpad/x270>` | | 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 (6th Gen)][] | `<nixos-hardware/lenovo/thinkpad/x1/6th-gen>` |
| Lenovo ThinkPad X1 Extreme Gen 2 | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen2>` | | Lenovo ThinkPad X1 Extreme Gen 2 | `<nixos-hardware/lenovo/thinkpad/x1-extreme/gen2>` |
| [Microsoft Surface Pro 3][] | `<nixos-hardware/microsoft/surface-pro/3>` | | [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-x230 = buildProfile ./lenovo/thinkpad/x230;
lenovo-thinkpad-x250 = buildProfile ./lenovo/thinkpad/x250; lenovo-thinkpad-x250 = buildProfile ./lenovo/thinkpad/x250;
lenovo-thinkpad-x260 = buildProfile ./lenovo/thinkpad/x260; lenovo-thinkpad-x260 = buildProfile ./lenovo/thinkpad/x260;
lenovo-thinkpad-x280 = buildProfile ./lenovo/thinkpad/x280;
microsoft-surface-pro-3 = buildProfile ./microsoft/surface-pro/3; microsoft-surface-pro-3 = buildProfile ./microsoft/surface-pro/3;