mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-10 21:19:41 +01:00
2bf94227c1
`throttled` is a service designed to fix the same CPU throttling bug, but it's an actively maintainted upstream project that we can use.
10 lines
200 B
Nix
10 lines
200 B
Nix
{ nixos, pkgs, lib, config, stdenv, ... }:
|
|
{
|
|
imports = [
|
|
../../../common/cpu/intel
|
|
../../../common/pc/laptop/acpi_call.nix
|
|
../.
|
|
];
|
|
|
|
services.throttled.enable = lib.mkDefault true;
|
|
}
|