Auto-commit: 2026-01-07 08:52:25

This commit is contained in:
2026-01-07 08:52:25 +00:00
parent f932e1df89
commit 914c83839a

View File

@@ -1,7 +1,8 @@
{ config, lib, ... }: { config, lib, ... }:
{ {
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
lib.optionalString config.my.amd.boost.disable "w /sys/devices/system/cpu/cpufreq/boost - - - - 0"
"w /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference - - - - ${config.my.amd.performancePreference}" "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" ];
} }