1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-04 18:19:40 +01:00
nixos-hardware/lenovo/x220i-tablet.nix

14 lines
279 B
Nix

{ config, pkgs, ... }:
{
# TPM chip countains a RNG
security.rngd.enable = true;
boot = {
kernelModules = [ "tp_smapi" ];
extraModulePackages = [ config.boot.kernelPackages.tp_smapi ];
};
# TLP Linux Advanced Power Management
services.tlp.enable = true;
}