added extra amdgpu support
This commit is contained in:
parent
9996b7d1a3
commit
90992598a2
|
@ -0,0 +1,20 @@
|
|||
{ pkgs, config, ... }: {
|
||||
|
||||
# Make the kernel use the correct driver early
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
|
||||
# For 32 bit applications
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
|
||||
# AMDVLK drivers can be used in addition to the Mesa RADV drivers
|
||||
hardware.opengl.extraPackages = with pkgs; [
|
||||
amdvlk
|
||||
rocmPackages.clr.icd
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
nvtop-amd
|
||||
clinfo
|
||||
rocmPackages.clr
|
||||
];
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./amdgpu.nix
|
||||
];
|
||||
}
|
|
@ -51,7 +51,6 @@
|
|||
btop
|
||||
htop
|
||||
tmux
|
||||
nvtop-amd
|
||||
asciiquarium
|
||||
pipes
|
||||
tldr
|
||||
|
|
Loading…
Reference in New Issue