81 lines
3.5 KiB
Plaintext
Executable File
81 lines
3.5 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 par défaut modifiable
|
|
d-i clock-setup/utc boolean true
|
|
d-i time/zone string Europe/Zurich
|
|
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 install -y gpg ; \
|
|
in-target gpg --keyserver keyserver.ubuntu.com --recv-keys EB8B81E14DA65431D7504EA8F63F0F2B90935439 ; \
|
|
in-target gpg --export EB8B81E14DA65431D7504EA8F63F0F2B90935439 | in-target tee /etc/apt/trusted.gpg.d/kisak.gpg ; \
|
|
in-target sh -c "echo 'deb https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu plucky main' >> /etc/apt/sources.list.d/kisak-mesa.list" ; \
|
|
in-target sh -c "echo 'deb-src https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu plucky main' >> /etc/apt/sources.list.d/kisak-mesa.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 |