1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 19:39:42 +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 ];
};
}