From f932e1df89c0afb5d7357310cc09ef3c6099f73f Mon Sep 17 00:00:00 2001 From: Lilly Date: Wed, 7 Jan 2026 08:50:52 +0000 Subject: [PATCH] Auto-commit: 2026-01-07 08:50:52 --- modules/core/amd-cpu.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/core/amd-cpu.nix b/modules/core/amd-cpu.nix index 400779e..43aadd9 100644 --- a/modules/core/amd-cpu.nix +++ b/modules/core/amd-cpu.nix @@ -1,6 +1,7 @@ { config, lib, ... }: { systemd.tmpfiles.rules = [ - lib.optionalString config.my.disableAmdBoost "w /sys/devices/system/cpu/cpufreq/boost - - - - 0" + 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}" ]; } \ No newline at end of file