a
This commit is contained in:
22
hosts/blade/power-plan.nix
Normal file
22
hosts/blade/power-plan.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
name,
|
||||
nodes,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.power-profiles-daemon.enable = true;
|
||||
|
||||
powerManagement.powertop.enable = true;
|
||||
|
||||
# boot.kernelParams = [
|
||||
# "pcie_aspm=force"
|
||||
# ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
powertop
|
||||
turbostat
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user