From 7ffa41766accb949920459813bdf324e3edb9286 Mon Sep 17 00:00:00 2001 From: Philippe Schaaf Date: Wed, 17 Aug 2022 11:25:31 +0200 Subject: [PATCH] added lenovo thinkpad T590 Copied from T550 and T490 config. Omit the pulseaudio profile from T490 config for now. Signed-off-by: Philippe Schaaf --- README.md | 1 + flake.nix | 1 + lenovo/thinkpad/t590/default.nix | 13 +++++++++++++ 3 files changed, 15 insertions(+) create mode 100644 lenovo/thinkpad/t590/default.nix 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; + }; +}