chore(shared/nixos): configure amd gpu for gaming performance
This commit is contained in:
parent
76e0d3c68c
commit
6cb471ea80
1 changed files with 8 additions and 0 deletions
|
|
@ -6,6 +6,14 @@
|
|||
"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
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue