Files
custom-debian-iso/files_to_inject/preseeds/default.preseed
Philippe Favre d3be33972b feat: amélioration preseed Skylanix avec fastfetch et commentaires formalisés
- Ajout du paquet fastfetch pour l'affichage des informations système
- Refactorisation des commentaires avec format standardisé
- Amélioration de la lisibilité et de la documentation du fichier preseed
- Maintien de la compatibilité avec l'installation automatisée Debian
- Optimisation de la structure des commentaires pour la maintenance
2025-07-17 04:50:40 +02:00

77 lines
2.9 KiB
Plaintext
Executable File

# Configuration Skylanix - Preseed pour installation automatisée Debian
# Locale et langue par défaut : français suisse
d-i debian-installer/locale string fr_CH.UTF-8
d-i preseed/early_command string debconf-set-selections /tmp/preseed.cfg
# Configuration du clavier suisse français
d-i keyboard-configuration/modelcode string pc105
d-i keyboard-configuration/variantcode string fr
# 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 (utilisation de sudo)
d-i passwd/root-login boolean false
# Partitionnement : manuel uniquement (pas de partitionnement automatique)
d-i partman-auto/method string
d-i partman-auto/choose_recipe select
d-i partman-partitioning/confirm_write_new_label boolean false
d-i partman/confirm boolean false
d-i partman/confirm_nooverwrite boolean false
# Configuration temporelle : UTC et fuseau horaire suisse
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Zurich
d-i time/zone seen false
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp seen 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 \
plasma-discover \
plasma-discover-backend-flatpak \
fastfetch \
vim \
wget \
curl \
git \
htop \
spice-vdagent \
flatpak \
fish
# 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 : kernel XanMod, shell Fish, dépôts Flathub et suppression Konqueror
d-i preseed/late_command string \
in-target mkdir -p /etc/apt/keyrings ; \
in-target wget -qO /etc/apt/keyrings/xanmod-archive-keyring.gpg https://dl.xanmod.org/archive.key ; \
in-target sh -c "echo 'deb [signed-by=/etc/apt/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org trixie main' > /etc/apt/sources.list.d/xanmod.list" ; \
in-target apt-get update ; \
in-target apt-get install -y linux-xanmod-x64v3 || true ; \
in-target flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo ; \
in-target apt-get remove --purge -y konqueror || true ; \
in-target bash -c "for u in \$(awk -F: '\$3 >= 1000 && \$3 < 65534 { print \$1 }' /etc/passwd); do chsh -s /usr/bin/fish \$u; done"
# Finalisation : redémarrage automatique
d-i finish-install/reboot_in_progress note