tidied and added corectrl+goodies to hades/hardware

This commit is contained in:
serenity-F 2024-10-22 17:03:47 +10:00
parent 90d7f3f8e3
commit 8b1a2d6356
No known key found for this signature in database

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, ... }: { lib, config, pkgs, modulesPath, ... }:
{ {
imports = [ imports = [
@ -129,12 +129,47 @@
libvdpau-va-gl libvdpau-va-gl
]; ];
}; };
amdgpu = {
initrd.enable = true;
opencl.enable = true;
amdvlk = {
enable = true;
#package = [ ];
support32Bit.enable = true;
supportExperimental.enable = true;
#settings = {
#};
};
};
};
programs = {
## For tweaking Radeon GPUs
corectrl = {
enable = true;
gpuOverclock = {
enable = true;
## Allows changing clocks and volts
ppfeaturemask = "0xfffd7fff";
};
};
tuxclocker = {
enable = true;
enableAMD = true;
useUnfree = true;
};
}; };
## Some packages for managing the radeon GPU inside Hades ## Some packages for managing the radeon GPU inside Hades
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
umr umr
radeontop radeontop
nvtop-amd
amdgpu_top amdgpu_top
radeontools radeontools
radeon-profile radeon-profile