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