summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-10-22 08:49:26 +0200
committertv <tv@krebsco.de>2018-10-22 08:49:26 +0200
commitbdae63be0e9e3813948b8a9cd968b3410e0e392d (patch)
treeefea98bc5dc90fb8bc374caf4866e14ef1f4d369 /tv/2configs
parentff5a9b989e06b807547a7f5561afa8116df1c4f5 (diff)
tv x220: add tpacpi-bat
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/hw/x220.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix
index d04cf50..e91fd82 100644
--- a/tv/2configs/hw/x220.nix
+++ b/tv/2configs/hw/x220.nix
@@ -3,6 +3,19 @@
{
imports = [
../smartd.nix
+ {
+ boot.extraModulePackages = [
+ config.boot.kernelPackages.acpi_call
+ ];
+
+ boot.kernelModules = [
+ "acpi_call"
+ ];
+
+ environment.systemPackages = [
+ pkgs.tpacpi-bat
+ ];
+ }
];
boot.extraModulePackages = [