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 | f10ed24e2ef5fb022d39ad6adcdd83b67761d0d7 (patch) | |
| tree | 3a8c0061382b44dda6c9b77af8ed3189ed62c74f /tv/2configs/hw | |
| parent | 38592704cd325dca6282cc98f51e493ab73b435f (diff) | |
| parent | 1c315c576c1112459eed2c96b043cba6d63648e5 (diff) | |
Merge remote-tracking branch 'lassul.us/master'
Diffstat (limited to 'tv/2configs/hw')
| -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 e0a04e2..38a89cf 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; |
