Initial template repo

This commit is contained in:
2026-06-16 20:55:00 +02:00
commit 65a547ad1a
39 changed files with 3628 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#!/usr/bin/env bash
# Proton-CachyOS Auto-Installer für NixOS
set -e
STEAM_COMPAT_DIR="$HOME/.steam/root/compatibilitytools.d"
mkdir -p "$STEAM_COMPAT_DIR"
echo "🎮 Installing Proton-CachyOS..."
# Hole neueste Proton-CachyOS Version
LATEST_RELEASE=$(curl -s https://api.github.com/repos/CachyOS/proton-cachyos/releases/latest \
| grep -oP '"tag_name": "\K[^"]*' | head -1)
if [ -z "$LATEST_RELEASE" ]; then
echo "❌ Fehler: Konnte Proton-CachyOS nicht finden"
exit 1
fi
DOWNLOAD_URL="https://github.com/CachyOS/proton-cachyos/releases/download/$LATEST_RELEASE/Proton-CachyOS-${LATEST_RELEASE}.tar.gz"
echo "📥 Download: $LATEST_RELEASE"
cd "$STEAM_COMPAT_DIR"
wget -q --show-progress "$DOWNLOAD_URL"
echo "📦 Extracting..."
tar -xzf "Proton-CachyOS-${LATEST_RELEASE}.tar.gz"
rm "Proton-CachyOS-${LATEST_RELEASE}.tar.gz"
echo "✅ Proton-CachyOS $LATEST_RELEASE installiert!"
echo "🔄 Steam neu starten und Compatibility-Einstellung prüfen"