Add amd gpu module
This commit is contained in:
parent
cb07de0f12
commit
49e1d531da
14
modules/gpu/amd.nix
Normal file
14
modules/gpu/amd.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
hardware.opengl.extraPackages = with pkgs; [
|
||||||
|
amdvlk
|
||||||
|
rocm-opencl-icd
|
||||||
|
];
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
clinfo
|
||||||
|
radeontop
|
||||||
|
rocm-smi
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue