tidied and added corectrl+goodies to hades/hardware
This commit is contained in:
parent
90d7f3f8e3
commit
8b1a2d6356
1 changed files with 37 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
{ lib, config, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -128,13 +128,48 @@
|
||||||
vaapiVdpau
|
vaapiVdpau
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue