fix steam vulkan
This commit is contained in:
parent
4acb6d5fb4
commit
e1595e9161
@ -5,9 +5,8 @@ let
|
|||||||
chromiumWayland =
|
chromiumWayland =
|
||||||
let
|
let
|
||||||
flags = [
|
flags = [
|
||||||
"--enable-vulkan"
|
|
||||||
"--flag-switches-begin"
|
"--flag-switches-begin"
|
||||||
"--enable-features=UseOzonePlatform,WebRTCPipeWireCapturer,IgnoreGPUBlocklist,Vulkan"
|
"--enable-features=UseOzonePlatform,WebRTCPipeWireCapturer,IgnoreGPUBlocklist"
|
||||||
"--flag-switches-end"
|
"--flag-switches-end"
|
||||||
"--ozone-platform=wayland"
|
"--ozone-platform=wayland"
|
||||||
"--enable-webrtc-pipewire-capturer"
|
"--enable-webrtc-pipewire-capturer"
|
||||||
@ -46,8 +45,9 @@ in
|
|||||||
cp -r ${desktop}/share $out/share
|
cp -r ${desktop}/share $out/share
|
||||||
'';
|
'';
|
||||||
/*fixupPhase = ''
|
/*fixupPhase = ''
|
||||||
wrapProgram $out/bin/${name} \
|
wrapProgram $out/bin/${pname} \
|
||||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath (with pkgs; [ vulkan-loader libGL ])}
|
--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"
|
||||||
'';*/
|
'';*/
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -305,6 +305,12 @@ in
|
|||||||
pcmanfm-qt
|
pcmanfm-qt
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
rust-analyzer
|
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}'';
|
||||||
|
}))
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user