add nvidia driver & monitors

This commit is contained in:
danny 2024-12-13 22:30:05 +08:00
parent c2f85fddb8
commit 3e6847c1ef
67 changed files with 1773 additions and 101 deletions

View file

@ -0,0 +1,10 @@
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p patchelf
# Fixes linking for NixOS
# ./fx_loader.sh ~/.local/share/nvim/mason/packages/rust-analyzer/rust-analyzer
for binary in ${@}; do
patchelf \
--set-interpreter "$(cat ${NIX_CC}/nix-support/dynamic-linker)" \
"${binary}"
done