From bdae63be0e9e3813948b8a9cd968b3410e0e392d Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 22 Oct 2018 08:49:26 +0200 Subject: tv x220: add tpacpi-bat --- tv/2configs/hw/x220.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tv') 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 = [ -- cgit v1.2.3