Add amd gpu module

restic-rest-server
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
1 changed files with 14 additions and 0 deletions

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
];
}