Tastatur-Fix, Zsh-Tooling, cloud-init, Autoinstall-Fix
setup-base.sh: - Tastatur: mac_nodeadkeys + iso_layout=0 (fixt ^/< Swap, @ auf Alt+L) - Neue Pakete: libheif-examples, imagemagick, pipx, zoxide, micro - cloud-init deaktivieren (blockiert Boot ohne Cloud-Provider) - dpkg-reconfigure nach Keyboard-Änderung setup-desktop.sh: - Powerlevel10k + zsh-syntax-highlighting von GitHub klonen - MesloLGS NF Fonts installieren - PlatformIO via pipx - .zshrc deployen (Linux-Version mit allen Aliases) - .p10k.zsh aus dotfiles-rene deployen - git-check-all.sh + git-update-all.sh verlinken - XFCE Keyboard-Override deaktivieren (XkbDisable) - XFCE Terminal auf MesloLGS NF setzen - DPMS-Werte gestaffelt (5/6/7 Min statt alle 10) build-iso.sh: - cloud-config-url=/dev/null (Fix für Ubuntu 24.04 Autoinstall) user-data: - Keyboard-Variante mac_nodeadkeys Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ef7c660c82
commit
2cb784a51a
4 changed files with 196 additions and 36 deletions
|
|
@ -57,6 +57,10 @@ apt install -y \
|
|||
nodejs npm \
|
||||
wireguard wireguard-tools \
|
||||
openssh-server \
|
||||
libheif-examples imagemagick \
|
||||
pipx \
|
||||
zoxide \
|
||||
micro \
|
||||
libreoffice libreoffice-l10n-de \
|
||||
thunderbird thunderbird-locale-de \
|
||||
keepassxc \
|
||||
|
|
@ -99,16 +103,17 @@ ok "Brave installiert"
|
|||
# ── 5. Konfigurationsdateien ─────────────────────────────────────────────
|
||||
echo -e "\n=== 5/10 Systemkonfigurationen ==="
|
||||
|
||||
# Tastaturbelegung
|
||||
# Tastaturbelegung (mac_nodeadkeys: @=Alt+L, |=Alt+7, wie auf dem Mac)
|
||||
tee /etc/default/keyboard > /dev/null <<EOF
|
||||
XKBMODEL="macbook79"
|
||||
XKBLAYOUT="de"
|
||||
XKBVARIANT="mac"
|
||||
XKBVARIANT="mac_nodeadkeys"
|
||||
XKBOPTIONS="lv3:lalt_switch,terminate:ctrl_alt_bksp"
|
||||
EOF
|
||||
dpkg-reconfigure -f noninteractive keyboard-configuration 2>/dev/null || true
|
||||
|
||||
# Fn-Tasten
|
||||
echo 'options hid_apple fnmode=2' | tee /etc/modprobe.d/hid_apple.conf > /dev/null
|
||||
# Fn-Tasten + ISO-Layout-Fix (iso_layout=0 verhindert ^/< Vertauschung)
|
||||
echo 'options hid_apple fnmode=2 iso_layout=0' | tee /etc/modprobe.d/hid_apple.conf > /dev/null
|
||||
|
||||
# mbpfan (modellabhängig)
|
||||
wget -q -O /tmp/mbpfan.conf "$SETUP_RAW/mbpfan-${MODEL}.conf"
|
||||
|
|
@ -213,6 +218,12 @@ else
|
|||
ok "mbpfan, thermald, tlp, ssh aktiviert (Start nach Reboot)"
|
||||
fi
|
||||
|
||||
# ── cloud-init deaktivieren (kein Cloud-Provider, blockiert sonst den Boot) ──
|
||||
if command -v cloud-init &>/dev/null; then
|
||||
touch /etc/cloud/cloud-init.disabled
|
||||
ok "cloud-init deaktiviert"
|
||||
fi
|
||||
|
||||
# ── zsh als Standard-Shell für rene ──────────────────────────────────────
|
||||
chsh -s /bin/zsh rene 2>/dev/null || true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue