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
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