diff options
author | makefu <github@syntax-fehler.de> | 2018-11-05 18:20:42 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-11-05 18:20:42 +0100 |
commit | 254e9e62b95951cecadd2b4800c03ef96f95b3c0 (patch) | |
tree | 6892ca816d01eb712b80af9dbd79cc6690f21752 /tv/2configs/hw/x220.nix | |
parent | 8b57f04ff84b53742ef6a8a9677560745075ffb1 (diff) | |
parent | 100ca928ad483471d61b36bd9e977e34441d404b (diff) |
Merge remote-tracking branch 'lassul.us/master'
Diffstat (limited to 'tv/2configs/hw/x220.nix')
-rw-r--r-- | tv/2configs/hw/x220.nix | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix index e0a04e214..38a89cfc3 100644 --- a/tv/2configs/hw/x220.nix +++ b/tv/2configs/hw/x220.nix @@ -1,10 +1,28 @@ -{ pkgs, ... }: - +{ config, pkgs, ... }: { imports = [ ../smartd.nix + { + boot.extraModulePackages = [ + config.boot.kernelPackages.acpi_call + ]; + + boot.kernelModules = [ + "acpi_call" + ]; + + environment.systemPackages = [ + pkgs.tpacpi-bat + ]; + } ]; + boot.extraModulePackages = [ + config.boot.kernelPackages.tp_smapi + ]; + + boot.kernelModules = [ "tp_smapi" ]; + boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; |