From 914c83839a5f5271ea4bb03cc598215939ff40ad Mon Sep 17 00:00:00 2001 From: Lilly Date: Wed, 7 Jan 2026 08:52:25 +0000 Subject: [PATCH] Auto-commit: 2026-01-07 08:52:25 --- modules/core/amd-cpu.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/core/amd-cpu.nix b/modules/core/amd-cpu.nix index 43aadd9..361c67e 100644 --- a/modules/core/amd-cpu.nix +++ b/modules/core/amd-cpu.nix @@ -1,7 +1,8 @@ { config, lib, ... }: { 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}" - ]; + ] + ++ lib.optionals config.my.amd.boost.disable + [ "w /sys/devices/system/cpu/cpufreq/boost - - - - 0" ]; } \ No newline at end of file