Merge branch 'main' of https://git.cmtec.se/cm/linuxbox
This commit is contained in:
commit
ead948834f
@ -259,7 +259,6 @@ if [ "${ROLES[TERMINAL]}" == "yes" ]; then
|
||||
ln -sf ~/linuxbox/config/alacritty/alacritty.toml ~/.config/alacritty/alacritty.toml
|
||||
ln -sf ~/linuxbox/config/lazygit/config.yml ~/.config/lazygit/config.yml
|
||||
|
||||
nvim --headless "+MasonUpdate" +qa
|
||||
nvim --headless "+Lazy! sync" +qa
|
||||
|
||||
printf -- '\033[33m Installing fzf\n\033[37m'
|
||||
@ -275,12 +274,16 @@ if [ "${ROLES[TERMINAL]}" == "yes" ]; then
|
||||
make -C ble.sh install
|
||||
if [ -d ~/ble.sh ]; then rm -rf ~/ble.sh; fi
|
||||
ln -sf ~/linuxbox/blerc ~/.blerc
|
||||
fi
|
||||
# fi
|
||||
#
|
||||
# # Install code utility
|
||||
# if [ "${ROLES[CODE]}" == "yes" ]; then
|
||||
# printf -- '\033[33m Installing code utilities\n\033[37m'
|
||||
# sudo pacman --noconfirm --needed -S code platformio-core
|
||||
|
||||
# Install code utility
|
||||
if [ "${ROLES[CODE]}" == "yes" ]; then
|
||||
printf -- '\033[33m Installing code utilities\n\033[37m'
|
||||
sudo pacman --noconfirm --needed -S code platformio-core
|
||||
printf -- '\033[33m Installing LSP servers\n\033[37m'
|
||||
sudo pacman --noconfirm --needed -S rust-analyzer lua-language-server bash-language-server ccls vscode-html-languageserver vscode-json-languageserver marksman pyright yaml-language-server vscode-css-languageserver clang
|
||||
yay --noconfirm -S --needed --aur dockerfile-language-server
|
||||
|
||||
printf -- '\033[33m Installing Rust embedded rp2040\n\033[37m'
|
||||
cd ~
|
||||
@ -290,14 +293,14 @@ if [ "${ROLES[CODE]}" == "yes" ]; then
|
||||
mkdir -p ~/.local/bin
|
||||
ln -sf ~/linuxbox/pico-load.sh ~/.local/bin/pico-load
|
||||
|
||||
printf -- '\033[33m Installing teensy udev rules\n\033[37m'
|
||||
if [ ! -f /.dockerenv ]; then
|
||||
sudo rm -f /tmp/00-teensy.rules /etc/udev/rules.d/00-teensy.rules /lib/udev/rules.d/00-teensy.rules
|
||||
sudo wget -O /tmp/00-teensy.rules https://www.pjrc.com/teensy/00-teensy.rules
|
||||
sudo install -o root -g root -m 0664 /tmp/00-teensy.rules /lib/udev/rules.d/00-teensy.rules
|
||||
sudo udevadm control --reload-rules
|
||||
sudo udevadm trigger
|
||||
fi
|
||||
# printf -- '\033[33m Installing teensy udev rules\n\033[37m'
|
||||
# if [ ! -f /.dockerenv ]; then
|
||||
# sudo rm -f /tmp/00-teensy.rules /etc/udev/rules.d/00-teensy.rules /lib/udev/rules.d/00-teensy.rules
|
||||
# sudo wget -O /tmp/00-teensy.rules https://www.pjrc.com/teensy/00-teensy.rules
|
||||
# sudo install -o root -g root -m 0664 /tmp/00-teensy.rules /lib/udev/rules.d/00-teensy.rules
|
||||
# sudo udevadm control --reload-rules
|
||||
# sudo udevadm trigger
|
||||
# fi
|
||||
|
||||
printf -- '\033[33m Installing VirtualHere client\n\033[37m'
|
||||
cd ~
|
||||
@ -372,20 +375,20 @@ if [ "${ROLES[GAME]}" == "yes" ]; then
|
||||
yay --noconfirm -S --needed --aur openmpi
|
||||
|
||||
if [ "$HOSTNAME" == "SIMONBOX" ]; then
|
||||
printf -- '\033[33m Installing Simon specific game utilities\n\033[37m'
|
||||
flatpak install -y flathub org.vinegarhq.Sober
|
||||
sudo pacman -S --noconfirm --needed fluidsynth gamemode gvfs libayatana-appindicator innoextract lib32-gamemode lib32-vkd3d python-pefile python-protobuf vulkan-icd-loader vkd3d lib32-vulkan-icd-loader vulkan-tools xorg-xgamma umu-launcher
|
||||
sudo pacman -S --noconfirm --needed lutris
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install VR utility
|
||||
if [ "${ROLES[VR]}" == "yes" ]; then
|
||||
printf -- '\033[33m Installing VR utilities\n\033[37m'
|
||||
sudo pacman -S --noconfirm --needed cli11 glib2-devel nlohmann-json glew
|
||||
yay --noconfirm -S --needed --aur monado-vulkan-layers-git
|
||||
yay --noconfirm -S --needed --aur wlx-overlay-s-git
|
||||
yay --noconfirm -S --needed --aur xrgears
|
||||
yay --noconfirm -S --needed --aur envision-xr-git
|
||||
if [ "${ROLES[VR]}" == "yes" ]; then
|
||||
printf -- '\033[33m Installing VR utilities\n\033[37m'
|
||||
sudo pacman -S --noconfirm --needed cli11 glib2-devel nlohmann-json glew
|
||||
yay --noconfirm -S --needed --aur monado-vulkan-layers-git
|
||||
yay --noconfirm -S --needed --aur wlx-overlay-s-git
|
||||
yay --noconfirm -S --needed --aur xrgears
|
||||
yay --noconfirm -S --needed --aur envision-xr-git
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install lab utility
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user