chore(shared/nixos): configure amd gpu for gaming performance

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2026-04-05 13:06:08 -03:00
parent 76e0d3c68c
commit 6cb471ea80
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -6,6 +6,14 @@
"amdgpu" "amdgpu"
]; ];
# Tune power management
boot.extraModprobeConfig = ''
options amdgpu runpm=0 aspm=0 bapm=0
'';
services.udev.extraRules = ''
SUBSYSTEM=="drm", DRIVERS=="amdgpu", ATTR{device/power_dpm_force_performance_level}="high"
'';
# Enable Bluetooth # Enable Bluetooth
hardware.bluetooth = { hardware.bluetooth = {
enable = true; enable = true;