add nvidia driver & monitors
This commit is contained in:
parent
c2f85fddb8
commit
3e6847c1ef
67 changed files with 1773 additions and 101 deletions
10
home/user/programs/nvim/fx_loader.sh
Normal file
10
home/user/programs/nvim/fx_loader.sh
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue