Auto-commit: 2026-01-07 13:03:05
This commit is contained in:
8
modules/core/amd-cpu-tweaks.nix
Normal file
8
modules/core/amd-cpu-tweaks.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
systemd.tmpfiles.rules = [
|
||||
"w /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference - - - - ${config.my.amd.performancePreference}"
|
||||
]
|
||||
++ lib.optionals config.my.amd.boost.disable
|
||||
[ "w /sys/devices/system/cpu/cpufreq/boost - - - - 0" ];
|
||||
}
|
||||
Reference in New Issue
Block a user