move LD_LIBRARY_PATH

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>

Former-commit-id: 5a35789f8cc7009e3310d49b27381b84aca0a475
This commit is contained in:
Hadi
2025-06-05 13:46:20 +02:00
parent d35af50097
commit 7013531715
2 changed files with 9 additions and 12 deletions

View File

@@ -94,6 +94,15 @@ in {
];
};
programs.zsh = {
sessionVariables = {
LD_LIBRARY_PATH = lib.concatStringsSep ":" [
"$LD_LIBRARY_PATH"
"${nvidiaDriverChannel}/lib" # change the package name according to nix search result
];
};
};
# Additional useful packages
environment.systemPackages = with pkgs; [
vulkan-tools