diff --git a/modules/gpu/amd.nix b/modules/gpu/amd.nix new file mode 100644 index 0000000..e203f3b --- /dev/null +++ b/modules/gpu/amd.nix @@ -0,0 +1,14 @@ +{ pkgs, ... }: + +{ + hardware.opengl.extraPackages = with pkgs; [ + amdvlk + rocm-opencl-icd + ]; + + environment.systemPackages = with pkgs; [ + clinfo + radeontop + rocm-smi + ]; +}