thinkpad: only enable tp_smapi on compatible ThinkPads, closes #36

This commit is contained in:
Yegor Timoshenko committed 2017-12-24 15:26:31 +00:00
1 parent 3743ae21f5
commit 08e080ae11
4 files changed
+14 -8

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
# tp_smapi works on ThinkPads made before 2013. See compat table:
# https://www.thinkwiki.org/wiki/Tp_smapi#Model-specific_status
{ config, ... }:
{
boot = {
kernelModules = [ "tp_smapi" ];
extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ];
};
}