mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
lenovo/x220i-tablet
Fixes https://github.com/NixOS/nixpkgs/issues/13173 Fixes https://github.com/NixOS/nixpkgs/issues/13174
This commit is contained in:
parent
13a1d5c0bd
commit
771087ca88
1 changed files with 14 additions and 0 deletions
14
lenovo/x220i-tablet.nix
Normal file
14
lenovo/x220i-tablet.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ 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;
|
||||
}
|
Loading…
Reference in a new issue