diff --git a/spec/koumakyou/jovian.nix b/spec/koumakyou/jovian.nix index d08aa145..a5754ee1 100644 --- a/spec/koumakyou/jovian.nix +++ b/spec/koumakyou/jovian.nix @@ -5,7 +5,7 @@ jovian = { hardware.has.amd.gpu = true; steamos.useSteamOSConfig = true; - #steamos.enableDefaultCmdlineConfig = false; + steamos.enableDefaultCmdlineConfig = false; steam = { enable = true; @@ -61,6 +61,13 @@ stateDir = "/nix/persist/decky"; }; - boot.kernelParams = [ "iomem=relaxed" "amd_pstate=passive" ]; + boot.kernelParams = [ + "iomem=relaxed" + "amd_pstate=passive" + ]; + + services.udev.extraRules = '' + SUBSYSTEM=="power_supply", ATTR{online}=="0", RUN+="${pkgs.ryzenadj}/bin/ryzenadj --max-performance" + ''; }; }