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

@@ -29,18 +29,6 @@ in {
}"
'';
# CHANGEME: for btop to show gpu usage
#may want to check the driver version with:
#nix path-info -r /run/current-system | grep nvidia-x11
#and
#nix search nixpkgs nvidia_x11
sessionVariables = {
LD_LIBRARY_PATH = lib.concatStringsSep ":" [
"${pkgs.linuxPackages_latest.nvidia_x11_beta}/lib" # change the package name according to nix search result
"$LD_LIBRARY_PATH"
];
};
shellAliases = {
vim = "nvim";
vi = "nvim";