1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-22 09:39:44 +01:00
nixos-hardware/lenovo/thinkpad/tp-smapi.nix

12 lines
278 B
Nix
Raw Normal View History

# tp_smapi works on ThinkPads made before 2013. See compat table:
# https://www.thinkwiki.org/wiki/Tp_smapi#Model-specific_status
{ config, ... }:
{
boot = {
kernelModules = [ "tp_smapi" ];
extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ];
};
}