Personal-use NixOS configuration
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Copy rocm configuration from the wiki

encode42 2d17e2e9 8da23df3

+22 -3
+22 -3
hardware/gpu/amd.nix
··· 5 5 nixos-hardware.nixosModules.common-gpu-amd 6 6 ]; 7 7 8 - hardware.graphics.extraPackages = with pkgs; [ 9 - rocmPackages.clr.icd 10 - ]; 8 + hardware = { 9 + graphics.extraPackages = with pkgs; [ 10 + rocmPackages.clr.icd 11 + ]; 12 + 13 + amdgpu.opencl.enable = true; 14 + }; 15 + 16 + systemd.tmpfiles.rules = 17 + let 18 + rocmEnv = pkgs.symlinkJoin { 19 + name = "rocm-combined"; 20 + paths = with pkgs.rocmPackages; [ 21 + rocblas 22 + hipblas 23 + clr 24 + ]; 25 + }; 26 + in 27 + [ 28 + "L+ /opt/rocm - - - - ${rocmEnv}" 29 + ]; 11 30 12 31 programs.obs-studio.plugins = with pkgs.obs-studio-plugins; [ 13 32 obs-vaapi