Fix some Vulkan stuff

This commit is contained in:
Zeph Levy 2026-05-02 09:39:43 +02:00
parent f4690418b1
commit 46362ce186
2 changed files with 9 additions and 0 deletions

View file

@ -8,6 +8,13 @@
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
then
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
LD_LIBRARY_PATH="''${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${
with pkgs;
lib.makeLibraryPath [
vulkan-loader
]
}"
export LD_LIBRARY_PATH
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
fi
'';

View file

@ -58,6 +58,8 @@
libsecret
lsd
htop
vulkan-tools
vulkan-loader
# Internet
bitwarden-desktop