diff options
author | lassulus <lass@blue.r> | 2018-10-23 17:38:03 +0200 |
---|---|---|
committer | lassulus <lass@blue.r> | 2018-10-23 17:38:03 +0200 |
commit | a852893760964a3a007f9d5ecffdae6fa94f410e (patch) | |
tree | 81c0c54c6ff06dd574293cc42580a73b6adf514f | |
parent | 383c1dba38f8f61b61e5325b2cb57578766027a8 (diff) | |
parent | bdae63be0e9e3813948b8a9cd968b3410e0e392d (diff) |
Merge remote-tracking branch 'ni/master'
-rw-r--r-- | tv/2configs/hw/x220.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix index e0a04e2..e91fd82 100644 --- a/tv/2configs/hw/x220.nix +++ b/tv/2configs/hw/x220.nix @@ -3,8 +3,27 @@ { 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; |