mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-24 10:39:44 +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.
11 lines
186 B
Nix
11 lines
186 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../../../common/cpu/intel
|
|
../../../common/pc/laptop/acpi_call.nix
|
|
../.
|
|
];
|
|
|
|
services.throttled.enable = lib.mkDefault true;
|
|
}
|