diff options
Diffstat (limited to 'nixos/amd_gpu.nix')
-rw-r--r-- | nixos/amd_gpu.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nixos/amd_gpu.nix b/nixos/amd_gpu.nix new file mode 100644 index 0000000..6cf6d87 --- /dev/null +++ b/nixos/amd_gpu.nix @@ -0,0 +1,20 @@ +{pkgs, ...}: { + hardware.graphics = { + enable = true; + enable32Bit = true; + extraPackages = with pkgs; [ + libvdpau-va-gl + #rocmPackages.clr.icd + #rocmPackages.rocm-runtime + vaapiVdpau + ]; + }; + + environment.systemPackages = with pkgs; [ + amdgpu_top + clinfo + lact + #rocmPackages.rocminfo + #rocmPackages.rocm-smi + ]; +} |