Files
custom-debian-iso/files_to_inject/preseeds/default.preseed
lapatatedouce 9aaa56b50e feat: add gaming script installation to user desktop
- Copy install_gaming.sh to user 1000 desktop during post-install
- Make gaming script executable automatically
- Replace old nvidia script references with gaming setup

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 18:01:03 +02:00

100 lines
4.0 KiB
Plaintext
Executable File

# Locale et langue par défaut : français suisse
d-i debian-installer/locale string fr_CH.UTF-8
# Configuration réseau automatique
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string skylanix
d-i netcfg/get_hostname seen false
d-i netcfg/get_domain string unassigned-domain
# Sécurité : désactivation du compte root
d-i passwd/root-login boolean false
# Partitionnement : manuel uniquement
d-i partman-auto/method string manual
d-i partman-partitioning/confirm_write_new_label boolean false
d-i partman/confirm boolean false
d-i partman/confirm_nooverwrite boolean false
# Configuration APT : priorité aux dépôts réseau plutôt qu'au CD-ROM
d-i apt-setup/cdrom/set-first boolean false
# Activation des dépôts non-free pour les pilotes propriétaires
d-i apt-setup/non-free boolean true
d-i apt-setup/non-free-firmware boolean true
# Installation minimale de base
tasksel tasksel/first multiselect minimal
# Paquets essentiels Skylanix : environnement KDE Plasma et outils système
d-i pkgsel/include string \
kde-plasma-desktop \
vim \
fish \
git \
wget \
curl \
gpg \
htop \
btop \
fastfetch \
plasma-discover \
flatpak \
plasma-discover-backend-flatpak \
gwenview \
ark \
ffmpeg \
libavcodec-extra \
libavformat-extra \
spice-vdagent \
cmatrix
# kde-plasma-desktop: Bureau KDE Plasma
# vim: Éditeur de texte
# fish: Shell moderne
# git: Gestionnaire de versions
# wget: Téléchargeur HTTP/FTP
# curl: Client HTTP/FTP
# gpg: Chiffrement/signatures
# htop: Moniteur système interactif
# btop: Moniteur système moderne
# fastfetch: Info système colorée
# plasma-discover: Gestionnaire de logiciels KDE
# flatpak: Gestionnaire d'apps universelles
# plasma-discover-backend-flatpak: Support Flatpak dans Discover
# gwenview: Visionneuse d'images KDE
# ark: Gestionnaire d'archives KDE
# ffmpeg: Codecs audio/vidéo
# libavcodec-extra: Codecs supplémentaires
# libavformat-extra: Formats multimédias supplémentaires
# spice-vdagent: Agent SPICE pour machine virtuelle
# cmatrix: Effet Matrix dans terminal
# Installation GRUB avec support multi-OS
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
# Choix manuel du périphérique d'installation GRUB
d-i grub-installer/bootdev seen false
# Configuration post-installation : suppression navigateurs par défaut et installation Firefox Mozilla ainsi que fish dans le bashrc
d-i preseed/late_command string \
in-target apt-get remove --purge -y firefox-esr konqueror ; \
in-target mkdir -p /etc/apt/keyrings ; \
in-target timeout 30 wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O /etc/apt/keyrings/packages.mozilla.org.asc ; \
in-target sh -c 'echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" > /etc/apt/sources.list.d/mozilla.list' ; \
in-target sh -c 'cat > /etc/apt/preferences.d/mozilla << EOF\nPackage: *\nPin: origin packages.mozilla.org\nPin-Priority: 1000\nEOF' ; \
in-target apt-get update ; \
in-target apt-get install -y firefox ; \
in-target update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/bin/firefox 200 ; \
in-target update-alternatives --set x-www-browser /usr/bin/firefox ; \
in-target timeout 30 flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo ; \
in-target apt-get install -y fish ; \
in-target sh -c "for u in \$(awk -F: '\$3 == 1000 { print \$1 }' /etc/passwd); do chsh -s /usr/bin/fish \$u 2>/dev/null; done" ; \
in-target dpkg --add-architecture i386 ; \
in-target apt-get update ; \
cp /cdrom/preseeds/install_gaming.sh /target/home/\$(awk -F: '\$3 == 1000 { print \$1; exit }' /target/etc/passwd)/Desktop/install_gaming.sh ; \
chmod +x /target/home/\$(awk -F: '\$3 == 1000 { print \$1; exit }' /target/etc/passwd)/Desktop/install_gaming.sh ; \
# Finalisation : redémarrage automatique
d-i finish-install/reboot_in_progress note