diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2019-12-31 16:15:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-31 16:15:24 +0000 |
commit | 89c4ddb0e60e5a643ab15f68b2f4ded43134f492 (patch) | |
tree | e264fe4fcbfa3169dba7c995ce1bb86559a68545 | |
parent | c3b2ac63ff06e5dd4fa66f75bfab7892b3edfdc5 (diff) | |
parent | 1d746f22983f050af004a3ebca90651c2c6d1464 (diff) |
Merge pull request #137 from mishudark/x280
Add Lenovo ThinkPad X280 profile
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | lenovo/thinkpad/x280/default.nix | 12 | ||||
-rw-r--r-- | release.nix | 1 |
3 files changed, 14 insertions, 0 deletions
@@ -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; |