From a67ed0c3a2d1b31f8233195cbd36bb2501bdf1bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 12 Jun 2021 10:13:10 +0100 Subject: [PATCH] Add Lenovo Thinkpad T480 --- README.md | 1 + flake.nix | 1 + lenovo/thinkpad/t480/default.nix | 11 +++++++++++ 3 files changed, 13 insertions(+) create mode 100644 lenovo/thinkpad/t480/default.nix diff --git a/README.md b/README.md index 5845f8e..8f271fa 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,7 @@ See code for all available configurations. | Lenovo ThinkPad T460 | `` | | Lenovo ThinkPad T460s | `` | | Lenovo ThinkPad T470s | `` | +| Lenovo ThinkPad T480 | `` | | Lenovo ThinkPad T480s | `` | | Lenovo ThinkPad T490 | `` | | Lenovo ThinkPad T495 | `` | diff --git a/flake.nix b/flake.nix index 1d37f22..5353d26 100644 --- a/flake.nix +++ b/flake.nix @@ -55,6 +55,7 @@ lenovo-thinkpad-t460 = import ./lenovo/thinkpad/t460; lenovo-thinkpad-t460s = import ./lenovo/thinkpad/t460s; lenovo-thinkpad-t470s = import ./lenovo/thinkpad/t470s; + lenovo-thinkpad-t480 = import ./lenovo/thinkpad/t480; lenovo-thinkpad-t480s = import ./lenovo/thinkpad/t480s; lenovo-thinkpad-t490 = import ./lenovo/thinkpad/t490; lenovo-thinkpad-t495 = import ./lenovo/thinkpad/t495; diff --git a/lenovo/thinkpad/t480/default.nix b/lenovo/thinkpad/t480/default.nix new file mode 100644 index 0000000..1a14afa --- /dev/null +++ b/lenovo/thinkpad/t480/default.nix @@ -0,0 +1,11 @@ +{ config, lib, pkgs, ... }: + +{ + imports = [ + ../../../common/cpu/intel + ../../../common/pc/laptop/acpi_call.nix + ../. + ]; + + services.throttled.enable = lib.mkDefault true; +}