diff options
author | tv <tv@krebsco.de> | 2018-10-22 08:49:26 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-10-22 08:49:26 +0200 |
commit | 77be9b677d0be4222ad385a6508ff66dbcdf71c4 (patch) | |
tree | d81386041f2a82217df17c27e7600c7a78a4d550 | |
parent | bed32d5be8ee93743247c2b1b2beedc2f8fc95a6 (diff) |
tv x220: add tpacpi-bat
-rw-r--r-- | tv/2configs/hw/x220.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix index d04cf50f2..e91fd82c8 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 = [ |