Add amd gpu module

This commit is contained in:
Simon Bruder 2020-10-17 23:17:20 +02:00
parent cb07de0f12
commit 49e1d531da
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

14
modules/gpu/amd.nix Normal file
View file

@ -0,0 +1,14 @@
{ pkgs, ... }:
{
hardware.opengl.extraPackages = with pkgs; [
amdvlk
rocm-opencl-icd
];
environment.systemPackages = with pkgs; [
clinfo
radeontop
rocm-smi
];
}