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 | 398a99bb25422af24c89260d109260e2146c9a5e (patch) | |
tree | f6e574f7bfffb3d38be9a14ee6d61b70971eebba /tv | |
parent | 24f4e8dcf0eca55378fa018a9ed980625222653d (diff) | |
parent | 77be9b677d0be4222ad385a6508ff66dbcdf71c4 (diff) |
Merge remote-tracking branch 'ni/master'prism/merge
Diffstat (limited to 'tv')
-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 e0a04e214..e91fd82c8 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; |