PortValhalla/profiles/ManuSurface/setup.sh

82 lines
2.6 KiB
Bash
Executable file

#!/bin/bash
dir="${BASH_SOURCE%/*}";
scriptRoot="$dir/../../scripts";
deviceRoot="$scriptRoot/Devices";
softwareRoot="$scriptRoot/Software";
configRoot="$scriptRoot/Config";
cloudRoot="$configRoot/rclone";
# Set Hostname
sudo hostnamectl set-hostname ManuSurface;
# Preparation
sudo apt update
sudo apt upgrade -y;
sudo apt install dbus-x11;
# Install gnome extensions
source "$configRoot/GnomeExtensions/install.sh";
# Sync clouds
source "$softwareRoot/rclone/install.sh";
{
gnome-terminal --tab --wait -- /bin/bash -c "source '$cloudRoot/NextcloudSync/install.sh'";
# Install fonts
source "$configRoot/Fonts/NerdFont/install.sh";
source "$softwareRoot/Oh My Posh/install.sh";
} &
# Install surface-linux
source "$deviceRoot/Surface/LinuxSurface/install.sh";
source "$deviceRoot/SurfaceBook2/Camera/install.sh";
# source "$deviceRoot/SurfaceBook2/SecureBoot/install.sh";
# Install Brave
source "$softwareRoot/Brave/install-stable.sh";
source "$softwareRoot/Brave/install-beta.sh";
source "$softwareRoot/Brave/install-nightly.sh";
source "$softwareRoot/Brave/install-extensions.sh";
source "$softwareRoot/Google Chrome/install.sh";
# Install further software
source "$softwareRoot/logo-ls/install.sh";
source "$softwareRoot/VSCodium/install.sh";
source "$softwareRoot/Visual Studio Code/install.sh";
source "$softwareRoot/Node.js/install.sh";
source "$softwareRoot/Java/install.sh";
source "$softwareRoot/tea/install.sh";
source "$softwareRoot/Godot/install.sh";
source "$softwareRoot/Virtual Machine Manager/install.sh";
source "$softwareRoot/Woodpecker CLI/install.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 "$configRoot/Fonts/MicrosoftFonts/install.sh";
# Install JetBrains Stuff
source "$softwareRoot/JetBrains/install-toolbox.sh";
# Install equalizer
source "$configRoot/EasyEffects/SurfaceBook2/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/common-apt/install.sh";
# Troll Stuff
source "$configRoot/git/git-auf-deutsch/install.sh";