diff --git a/profiles/DerGeret/Windows/Drivers.ps1 b/profiles/DerGeret/Windows/Drivers.ps1 index f42773f5..65e21d87 100644 --- a/profiles/DerGeret/Windows/Drivers.ps1 +++ b/profiles/DerGeret/Windows/Drivers.ps1 @@ -23,6 +23,11 @@ function Install-PortValhallaDrivers { choco install -y geforce-game-ready-driver icue wavelink; $context.RemoveDesktopIcon("*Wave Link*"); $context.RemoveDesktopIcon("*GeForce*"); + + Write-Information "Set AMD Ryzen power plan as default"; + $ryzenPlan = [regex]::Match(((powercfg /LIST) | Where-Object { $_ -like "*(AMD Ryzen*"; }), "Power Scheme GUID: ([0-9a-f-]+) ").Groups[1]; + powercfg /S $ryzenPlan; + $context.PreventSleepMode(); } function Install-PersonalDrivers {