mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-18 17:09:41 +01:00
771087ca88
Fixes https://github.com/NixOS/nixpkgs/issues/13173 Fixes https://github.com/NixOS/nixpkgs/issues/13174
14 lines
279 B
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;
|
|
}
|