From 1e2c130d38d72860660474c36207b099c519cb6a Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Mon, 3 Dec 2018 00:25:43 +0100 Subject: [PATCH] add basic support for Lenovo Thinkpad T440s (#83) This adds basic support for the Thinkpad T440s, based on the work done for the T440p. The expression enables: - microcode updates - trackpoint support - kernel module for battery level management --- README.md | 1 + lenovo/thinkpad/t440s/default.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 lenovo/thinkpad/t440s/default.nix diff --git a/README.md b/README.md index f20bc64..10f64bb 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ imports = [ | Lenovo IdeaPad Z510 | `` | | Lenovo ThinkPad T410 | `` | | Lenovo ThinkPad T430 | `` | +| Lenovo ThinkPad T440s | `` | | Lenovo ThinkPad T440p | `` | | Lenovo ThinkPad T450s | `` | | Lenovo ThinkPad T460s | `` | diff --git a/lenovo/thinkpad/t440s/default.nix b/lenovo/thinkpad/t440s/default.nix new file mode 100644 index 0000000..c40ad90 --- /dev/null +++ b/lenovo/thinkpad/t440s/default.nix @@ -0,0 +1,14 @@ +{ config, lib, pkgs, ... }: + +{ + imports = [ + ../. + ../../../common/cpu/intel + ../../../common/pc/laptop/acpi_call.nix + ]; + + boot = { + # TODO: probably enable tcsd? Is this line necessary? + kernelModules = [ "tpm-rng" ]; + }; +}