mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-28 09:12:33 +01:00
17 lines
435 B
Nix
17 lines
435 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
governors = lib.genAttrs [ "ai-niri" "aquamarine" "shoryu" "shushou" "youko" ] (_: "powersave");
|
|
noTuned = true;
|
|
noEeeWorkaround = true;
|
|
noFrequencyCaps = true;
|
|
guestsHaveNoCpuPolicy = true;
|
|
serverRaplEnabled = lib.genAttrs [ "aquamarine" "shoryu" "shushou" "youko" ] (_: true);
|
|
serverRaplReaderOnly = true;
|
|
desktopRaplDisabled = true;
|
|
guestsHaveNoRapl = true;
|
|
desktopBatteryReporting = true;
|
|
}
|