summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-09-04 20:16:15 +0100
committerGitHub <noreply@github.com>2018-09-04 20:16:15 +0100
commitb7185cd232c7b9d9e8872ecd4a10e86bac65c0ea (patch)
treede11d8cf6f45ddb7f07a3e0ce0a2711158b1a124
parent7fbb7d50a6a111a180c4e6c2cc9b51079add9af5 (diff)
parent142530bb885eb5ae32215a0ddb5ba05b69b2beff (diff)
Merge pull request #76 from erictapen/t430-init
thinkpad: introduce t430
-rw-r--r--README.md1
-rw-r--r--lenovo/thinkpad/t430/default.nix15
2 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index f8f2f91..53d6463 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,7 @@ imports = [
| [Inverse Path USB armory][] | `<nixos-hardware/inversepath/usbarmory>` |
| Lenovo IdeaPad Z510 | `<nixos-hardware/lenovo/ideapad/z510>` |
| Lenovo ThinkPad T410 | `<nixos-hardware/lenovo/thinkpad/t410>` |
+| Lenovo ThinkPad T430 | `<nixos-hardware/lenovo/thinkpad/t430>` |
| Lenovo ThinkPad T440p | `<nixos-hardware/lenovo/thinkpad/t440p>` |
| Lenovo ThinkPad T460s | `<nixos-hardware/lenovo/thinkpad/t460s>` |
| Lenovo ThinkPad X140e | `<nixos-hardware/lenovo/thinkpad/x140e>` |
diff --git a/lenovo/thinkpad/t430/default.nix b/lenovo/thinkpad/t430/default.nix
new file mode 100644
index 0000000..09cee74
--- /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'"
+ ];
+ };
+}