diff --git a/nixosModules/software/whisper.nix b/nixosModules/software/whisper.nix index 0f93add..1b189ea 100755 --- a/nixosModules/software/whisper.nix +++ b/nixosModules/software/whisper.nix @@ -9,4 +9,8 @@ environment.systemPackages = [ pkgs.openai-whisper ]; + nixpkgs.config.rocmSupport = true; + nixpkgs.config.cudaSupport = false; + hardware.amdgpu.opencl.enable = true; + hardware.graphics.extraPackages = with pkgs.rocmPackages; [ clr clr.icd ]; }