Files
dotfiles/bootstraph.sh
T
jasonhilder 7ba67a2655 Updated install options.
Bootstrap - sets up the Desktop
Install   - sets up my software
scripts/  - specific software setups
2026-05-06 10:25:33 +02:00

55 lines
2.8 KiB
Bash
Executable File

#!/bin/bash
# ---------------------------------------------------------------------------------
# Bootstrap script for fresh Debian 13 (Trixie) install
# Run this after a minimal install (SSH server + system essentials, no desktop)
# ---------------------------------------------------------------------------------
set -e
echo "🔧 Installing pre-requisites..."
sudo apt install -y curl network-manager nemo pipewire pipewire-pulse wireplumber polkit-kde-agent-1 wl-clipboard
# ---------------------------------------------------------------------------------
# Install DankMaterialShell
# ---------------------------------------------------------------------------------
echo "🎨 Installing DankMaterialShell..."
curl -fsSL https://install.danklinux.com | sh
echo "🔊 Enabling audio and networking services..."
sudo systemctl --user enable --now pipewire pipewire-pulse wireplumber
sudo systemctl enable --now NetworkManager
# ---------------------------------------------------------------------------------
# Fix network interfaces — keep only the loopback interface
# ---------------------------------------------------------------------------------
echo "🌐 Fixing network interfaces..."
echo " Commenting out everything except the lo loopback in /etc/network/interfaces"
sudo sed -i '/^auto\|^iface\|^allow-hotplug/{/lo/!s/^/#/}' /etc/network/interfaces
sudo systemctl restart networking
sudo systemctl restart NetworkManager
sudo systemctl restart dms
# ---------------------------------------------------------------------------------
# Install Helium Browser
# ---------------------------------------------------------------------------------
echo "🌍 Installing Helium Browser..."
curl -fsSL https://raw.githubusercontent.com/imputnet/helium-linux/main/pubkey.asc | sudo gpg --dearmor -o /usr/share/keyrings/helium.gpg
echo "deb [arch=amd64,arm64 signed-by=/usr/share/keyrings/helium.gpg] https://pkg.helium.computer/deb stable main" | sudo tee /etc/apt/sources.list.d/helium.list
sudo apt update && sudo apt install -y helium-bin
# ---------------------------------------------------------------------------------
# Install adw-gtk3 (GTK app theming for DMS)
# ---------------------------------------------------------------------------------
echo "🎨 Installing adw-gtk3..."
curl -s https://julianfairfax.codeberg.page/package-repo/pub.gpg | gpg --dearmor | sudo dd of=/usr/share/keyrings/julians-package-repo.gpg
echo 'deb [ signed-by=/usr/share/keyrings/julians-package-repo.gpg ] https://julianfairfax.codeberg.page/package-repo/debs packages main' | sudo tee /etc/apt/sources.list.d/julians-package-repo.list
sudo apt update && sudo apt install -y adw-gtk3
# ---------------------------------------------------------------------------------
echo ""
echo "✅ Bootstrap complete."
echo ""