summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2019-12-31 16:15:24 +0000
committerGitHub <noreply@github.com>2019-12-31 16:15:24 +0000
commit89c4ddb0e60e5a643ab15f68b2f4ded43134f492 (patch)
treee264fe4fcbfa3169dba7c995ce1bb86559a68545
parentc3b2ac63ff06e5dd4fa66f75bfab7892b3edfdc5 (diff)
parent1d746f22983f050af004a3ebca90651c2c6d1464 (diff)
Merge pull request #137 from mishudark/x280
Add Lenovo ThinkPad X280 profile
-rw-r--r--README.md1
-rw-r--r--lenovo/thinkpad/x280/default.nix12
-rw-r--r--release.nix1
3 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index d82ef1c..c86792e 100644
--- a/README.md
+++ b/README.md
@@ -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>` |
diff --git a/lenovo/thinkpad/x280/default.nix b/lenovo/thinkpad/x280/default.nix
new file mode 100644
index 0000000..a9423e5
--- /dev/null
+++ b/lenovo/thinkpad/x280/default.nix
@@ -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;
+}
diff --git a/release.nix b/release.nix
index ecc3ec7..88abd26 100644
--- a/release.nix
+++ b/release.nix
@@ -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;