From 1b5af5d9e130fef8cdf73db5a9e908425d504b3d Mon Sep 17 00:00:00 2001 From: Lilly Date: Wed, 7 Jan 2026 08:44:19 +0000 Subject: [PATCH] Auto-commit: 2026-01-07 08:44:19 --- modules/core/amd-boost.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/core/amd-boost.nix b/modules/core/amd-boost.nix index 483cca3..400779e 100644 --- a/modules/core/amd-boost.nix +++ b/modules/core/amd-boost.nix @@ -1,6 +1,6 @@ { config, lib, ... }: { - config = lib.mkIf config.my.disableAmdBoost { - boot.kernelParaks = [ "amd_pstate=disable" ]; - }; + systemd.tmpfiles.rules = [ + lib.optionalString config.my.disableAmdBoost "w /sys/devices/system/cpu/cpufreq/boost - - - - 0" + ]; } \ No newline at end of file