From 1d746f22983f050af004a3ebca90651c2c6d1464 Mon Sep 17 00:00:00 2001 From: mishudark Date: Tue, 31 Dec 2019 12:43:42 +0100 Subject: Add Lenovo ThinkPad X280 profile --- README.md | 1 + lenovo/thinkpad/x280/default.nix | 12 ++++++++++++ release.nix | 1 + 3 files changed, 14 insertions(+) create mode 100644 lenovo/thinkpad/x280/default.nix 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 | `` | | [Lenovo ThinkPad X260][] | `` | | Lenovo ThinkPad X270 | `` | +| Lenovo ThinkPad X280 | `` | | [Lenovo ThinkPad X1 (6th Gen)][] | `` | | Lenovo ThinkPad X1 Extreme Gen 2 | `` | | [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; -- cgit v1.2.3