diff --git a/README.md b/README.md index 61ecbce..9345c97 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,7 @@ See code for all available configurations. | [Lenovo ThinkPad T490](lenovo/thinkpad/t490) | `` | | [Lenovo ThinkPad T495](lenovo/thinkpad/t495) | `` | | [Lenovo ThinkPad T550](lenovo/thinkpad/t550) | `` | +| [Lenovo ThinkPad T590](lenovo/thinkpad/t590) | `` | | [Lenovo ThinkPad X1 Yoga](lenovo/thinkpad/x1/yoga) | `` | | [Lenovo ThinkPad X1 (6th Gen)](lenovo/thinkpad/x1/6th-gen) | `` | | [Lenovo ThinkPad X1 (7th Gen)](lenovo/thinkpad/x1/7th-gen) | `` | diff --git a/flake.nix b/flake.nix index 7ce8937..057875f 100644 --- a/flake.nix +++ b/flake.nix @@ -91,6 +91,7 @@ lenovo-thinkpad-t490 = import ./lenovo/thinkpad/t490; lenovo-thinkpad-t495 = import ./lenovo/thinkpad/t495; lenovo-thinkpad-t550 = import ./lenovo/thinkpad/t550; + lenovo-thinkpad-t590 = import ./lenovo/thinkpad/t590; lenovo-thinkpad-x1 = import ./lenovo/thinkpad/x1; lenovo-thinkpad-x1-yoga = import ./lenovo/thinkpad/x1/yoga; lenovo-thinkpad-x1-6th-gen = import ./lenovo/thinkpad/x1/6th-gen; diff --git a/lenovo/thinkpad/t590/default.nix b/lenovo/thinkpad/t590/default.nix new file mode 100644 index 0000000..6a4cc7b --- /dev/null +++ b/lenovo/thinkpad/t590/default.nix @@ -0,0 +1,13 @@ +{ config, lib, pkgs, ... }: + +{ + imports = [ + ../../../common/cpu/intel + ../../../common/pc/laptop/acpi_call.nix + ../. + ]; + + services = { + throttled.enable = lib.mkDefault true; + }; +}