From d5b0b9349f46eb386f292feca3395dfecf5b3e2f Mon Sep 17 00:00:00 2001 From: Justin Humm Date: Fri, 31 Aug 2018 20:16:13 +0200 Subject: [PATCH] thinkpad: introduce t430 Copied everything from t440p, added a fix for the brightness keys --- lenovo/thinkpad/t430/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lenovo/thinkpad/t430/default.nix diff --git a/lenovo/thinkpad/t430/default.nix b/lenovo/thinkpad/t430/default.nix new file mode 100644 index 00000000000..09cee74942e --- /dev/null +++ b/lenovo/thinkpad/t430/default.nix @@ -0,0 +1,15 @@ +{ config, lib, pkgs, ... }: + +{ + imports = [ + ../. + ../../../common/cpu/intel + ]; + + boot = { + kernelParams = [ + # fixes brightness keys, see https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_T430s + "acpi_osi\='!Windows 2012'" + ]; + }; +}