Fix a bunch of stuff. Add docker compose files to make server config repo obsolete
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
export TOOLS=$(cat ~/.local/share/sunhat/sources/install/tools | tr "\n" " " | sed 's/ //g')
|
||||
export GH_USERNAME="gibbyb"
|
||||
export GH_EMAIL="gib@gibbyb.com"
|
||||
export GH_EDITOR="nvim"
|
||||
|
10
sources/install/nvidia_driver.sh
Normal file
10
sources/install/nvidia_driver.sh
Normal file
@ -0,0 +1,10 @@
|
||||
sudo dnf install -y akmod-nvidia xorg-x11-drv-nvidia-cuda
|
||||
echo -e "\nRemove the duplicate lines below from grub:"
|
||||
echo -e "\t\"rd.driver.blacklist=nouveau,"
|
||||
echo -e "\tmodprobe.blacklist=nouveau,"
|
||||
echo -e "\tnvidia-drm.modeset=1\"\n"
|
||||
echo -e "\n Save the file & close nvim to continue.\n"
|
||||
kitty -1 -e bash -c "sudo nvim /etc/default/grub"
|
||||
sudo grub2-mkconfig -o /etc/grub2-efi.cfg
|
||||
sudo systemctl enable nvidia-hibernate.service nvidia-suspend.service \
|
||||
nvidia-resume.service nvidia-powerd.service
|
@ -109,3 +109,27 @@ bison
|
||||
ImageMagick
|
||||
sqlite3
|
||||
gperftools-libs
|
||||
boost-devel
|
||||
intel-mediasdk-devel
|
||||
libappindicator-gtk3-devel
|
||||
libcap-devel
|
||||
libcurl-devel
|
||||
libdrm-devel
|
||||
libevdev-devel
|
||||
libnotify-devel
|
||||
libva-devel
|
||||
libvdpau-devel
|
||||
libX11-devel
|
||||
libxcb-devel
|
||||
libXcursor-devel
|
||||
libXfixes-devel
|
||||
libXi-devel
|
||||
libXinerama-devel
|
||||
libXrandr-devel
|
||||
libXtst-devel
|
||||
mesa-libGL-devel
|
||||
miniupnpc-devel
|
||||
numactl-devel
|
||||
openssl-devel
|
||||
opus-devel
|
||||
pulseaudio-libs-devel
|
||||
|
@ -1,2 +1,2 @@
|
||||
tools=$(cat ~/.local/share/sunhat/sources/install/tools | tr "\n" " ")
|
||||
source ~/.local/share/sunhat/sources/env.sh
|
||||
sudo dnf install -y $tools
|
||||
|
Reference in New Issue
Block a user