From 46362ce186ea8f8ed703ae113085b44d38bfab80 Mon Sep 17 00:00:00 2001 From: Zeph Levy <171337931+ZephLevy@users.noreply.github.com> Date: Sat, 2 May 2026 09:39:43 +0200 Subject: [PATCH] Fix some Vulkan stuff --- home-manager/modules/bash.nix | 7 +++++++ nixos/pkgs.nix | 2 ++ 2 files changed, 9 insertions(+) diff --git a/home-manager/modules/bash.nix b/home-manager/modules/bash.nix index 12c4c03..82f60ba 100644 --- a/home-manager/modules/bash.nix +++ b/home-manager/modules/bash.nix @@ -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 ''; diff --git a/nixos/pkgs.nix b/nixos/pkgs.nix index f934d61..efc8471 100644 --- a/nixos/pkgs.nix +++ b/nixos/pkgs.nix @@ -58,6 +58,8 @@ libsecret lsd htop + vulkan-tools + vulkan-loader # Internet bitwarden-desktop