From bed32d5be8ee93743247c2b1b2beedc2f8fc95a6 Mon Sep 17 00:00:00 2001
From: tv <tv@krebsco.de>
Date: Mon, 22 Oct 2018 08:38:18 +0200
Subject: [PATCH] tv x220: add tp_smapi

---
 tv/2configs/hw/x220.nix | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix
index e0a04e214..d04cf50f2 100644
--- a/tv/2configs/hw/x220.nix
+++ b/tv/2configs/hw/x220.nix
@@ -5,6 +5,12 @@
     ../smartd.nix
   ];
 
+  boot.extraModulePackages = [
+    config.boot.kernelPackages.tp_smapi
+  ];
+
+  boot.kernelModules = [ "tp_smapi" ];
+
   boot.loader.systemd-boot.enable = true;
   boot.loader.efi.canTouchEfiVariables = true;