Initial commit: Linux-Setup für MacBook Pro 13" und 16"

Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:

- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
  PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
  mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification

Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
This commit is contained in:
rene 2026-03-07 15:27:48 +01:00
commit 722bd849f9
12 changed files with 494 additions and 0 deletions

53
user-data Normal file
View file

@ -0,0 +1,53 @@
#cloud-config
autoinstall:
version: 1
locale: de_DE.UTF-8
keyboard:
layout: de
variant: mac
identity:
hostname: macbook
username: rene
# Passwort mit `mkpasswd -m sha-512 PASSWORT` generieren und hier ersetzen:
password: "$6$CHANGEME$CHANGEME"
ssh:
install-server: false
storage:
layout:
name: lvm
packages:
- bcmwl-kernel-source
- mbpfan
- thermald
- lm-sensors
- git
- curl
- wget
- zsh
- neovim
- stow
- build-essential
- python3
- python3-pip
- nodejs
- npm
- wireguard
- wireguard-tools
- libreoffice
- libreoffice-l10n-de
- thunderbird
- thunderbird-locale-de
- language-pack-de
- wngerman
- tlp
- tlp-rdw
- keepassxc
- htop
- btop
- timeshift
- vlc
- bc
late-commands:
# setup.sh aus Forgejo ausführen — Modell als Argument übergeben (13 oder 16)
- curtin in-target --target=/target -- bash -c 'curl -fsSL https://git.motocamp.de/rene/macbook-setup/raw/branch/main/setup.sh | bash -s -- 13'
# Für MBP 16": oben "13" durch "16" ersetzen