diff --git a/nixosConfigurations/hosts/wsl.nix b/nixosConfigurations/hosts/wsl.nix index 429a397..1ff50c5 100755 --- a/nixosConfigurations/hosts/wsl.nix +++ b/nixosConfigurations/hosts/wsl.nix @@ -36,6 +36,9 @@ let amdgpu.amdvlk.enable = true; }; + nixpkgs.config.rocmSupport = true; + nixpkgs.config.cudaSupport = false; + networking = { firewall.enable = false; hostName = xlib.device.hostname; diff --git a/nixosModules/software/whisper.nix b/nixosModules/software/whisper.nix index 1b189ea..8dd7095 100755 --- a/nixosModules/software/whisper.nix +++ b/nixosModules/software/whisper.nix @@ -9,8 +9,5 @@ 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 ]; + #hardware.graphics.extraPackages = with pkgs.rocmPackages; [ clr clr.icd ]; }