diff --git a/overlays/chromium-wayland.nix b/overlays/chromium-wayland.nix index ae9105e..b732c9a 100644 --- a/overlays/chromium-wayland.nix +++ b/overlays/chromium-wayland.nix @@ -5,9 +5,8 @@ let chromiumWayland = let flags = [ - "--enable-vulkan" "--flag-switches-begin" - "--enable-features=UseOzonePlatform,WebRTCPipeWireCapturer,IgnoreGPUBlocklist,Vulkan" + "--enable-features=UseOzonePlatform,WebRTCPipeWireCapturer,IgnoreGPUBlocklist" "--flag-switches-end" "--ozone-platform=wayland" "--enable-webrtc-pipewire-capturer" @@ -46,8 +45,9 @@ in cp -r ${desktop}/share $out/share ''; /*fixupPhase = '' - wrapProgram $out/bin/${name} \ - --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath (with pkgs; [ vulkan-loader libGL ])} + wrapProgram $out/bin/${pname} \ + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath (with pkgs; [ vulkan-loader libGL ])} \ + --prefix VK_ICD_FILENAMES : "${pkgs.amdvlk}/share/vulkan/icd.d/amd_icd64.json:${pkgs.driversi686Linux.amdvlk}/share/vulkan/icd.d/amd_icd32.json" '';*/ }); } diff --git a/users/patriot/default.nix b/users/patriot/default.nix index 8c25ff7..6efe11f 100644 --- a/users/patriot/default.nix +++ b/users/patriot/default.nix @@ -305,6 +305,12 @@ in pcmanfm-qt wl-clipboard rust-analyzer + (lib.hiPrio (steam.override { + extraLibraries = pkgs: [ pkgs.pipewire ]; + extraProfile = '' + unset VK_ICD_FILENAMES + export VK_ICD_FILENAMES=${nixosConfig.environment.variables.VK_ICD_FILENAMES}''; + })) ]; };