PortValhalla/devices/ManuSurface/setup.sh
2023-01-12 17:03:36 +01:00

81 lines
2.2 KiB
Bash
Executable file

#!/bin/bash
dir="${BASH_SOURCE%/*}"
popOSRoot="$dir/../../scripts/PopOS"
softwareRoot="$popOSRoot/software"
cloudRoot="$popOSRoot/cloud-sync"
# Set Hostname
sudo hostnamectl set-hostname ManuSurface
# Preparation
sudo apt update
sudo apt upgrade -y
sudo apt install dbus-x11
# Install gnome extensions
source "$softwareRoot/gnome-extensions.sh"
# Sync clouds
source "$softwareRoot/rclone/install.sh"
{
gnome-terminal --tab --wait -- /bin/bash -c "source '$cloudRoot/nextcloud.sh'"
# Install fonts
source "$popOSRoot/custom-fonts.sh"
source "$softwareRoot/oh-my-posh.sh"
} &
# Install surface-linux
source "$popOSRoot/linux-surface.sh"
source "$popOSRoot/camera.sh"
source "$popOSRoot/secure-boot/install.sh"
# Install Brave
source "$softwareRoot/brave.sh"
source "$softwareRoot/brave-extensions.sh"
source "$softwareRoot/brave-beta.sh"
source "$softwareRoot/brave-nightly.sh"
source "$softwareRoot/chrome.sh"
# Install further software
source "$softwareRoot/logo-ls.sh"
source "$softwareRoot/codium.sh"
source "$softwareRoot/code.sh"
source "$softwareRoot/nodejs.sh"
source "$softwareRoot/java.sh"
source "$softwareRoot/tea.sh"
source "$softwareRoot/godot.sh"
source "$softwareRoot/virt-manager.sh"
source "$softwareRoot/woodpecker-cli.sh"
# Install other flatpaks
flatpak install -y flathub com.bitwarden.desktop
flatpak install -y flathub com.github.xournalpp.xournalpp
flatpak install -y flathub org.signal.Signal
flatpak install -y flathub com.usebottles.bottles
flatpak install -y flathub com.mattjakeman.ExtensionManager
flatpak install -y flathub com.github.wwmm.easyeffects
flatpak install -y flathub ch.threema.threema-web-desktop
flatpak install -y flathub app.ytmdesktop.ytmdesktop
flatpak install -y flathub com.github.tchx84.Flatseal
# Microsoft Windows Fonts
source "$popOSRoot/windows-fonts.sh"
# Install JetBrains Stuff
source "$softwareRoot/jetbrains-toolbox.sh"
# Install equalizer
source "$popOSRoot/equalizer/install.sh"
# Git config
git config --global user.name "Manuel Thalmann"
git config --global user.email "m@nuth.ch"
# Install General Packages from APT
source "$softwareRoot/apt-packages.sh"
# Troll Stuff
source "$softwareRoot/git-auf-deutsch.sh"