Install MoreWaita icon pack from GitHub and apply the icon theme via dconf via dconf and remove temporary files Add flatpak-first-boot service to install Flathub apps on first boot and enable it Use system-wide Flathub remote with tolerant remote-add
This commit is contained in:
+13
-5
@@ -81,6 +81,12 @@ RUN echo "LANG=fr_FR.UTF-8" > /etc/locale.conf \
|
||||
&& ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime \
|
||||
&& echo "user.max_user_namespaces=28633" > /etc/sysctl.d/userns.conf
|
||||
|
||||
# Installation du pack d'icones MoreWaita
|
||||
RUN git clone https://github.com/somepaulo/MoreWaita.git && cd MoreWaita && ./install.sh && \
|
||||
rm -rf MoreWaita && \
|
||||
printf "[org/gnome/desktop/interface]\nicon-theme='MoreWaita'\n" > /etc/dconf/db/local.d/02-icon-theme && \
|
||||
dconf update 2>/dev/null || true
|
||||
|
||||
#Configuration des fenêtres gnome pour avoir les btns style windows
|
||||
RUN mkdir -p /etc/dconf/db/local.d /etc/dconf/profile && \
|
||||
printf "[org/gnome/desktop/wm/preferences]\nbutton-layout=':minimize,maximize,close'\n" > /etc/dconf/db/local.d/02-window-buttons && \
|
||||
@@ -90,10 +96,12 @@ RUN mkdir -p /etc/dconf/db/local.d /etc/dconf/profile && \
|
||||
#Activation du module xpad pour support manette xbox
|
||||
RUN echo "xpad" > /etc/modules-load.d/xpad.conf
|
||||
|
||||
# Ajout de flathub avec des apps par défaut
|
||||
# RUN flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo \
|
||||
# && flatpak install -y --system flathub runtime/org.gnome.Platform/x86_64/49 \
|
||||
# && flatpak install -y --system flathub io.github.kolunmi.Bazaar
|
||||
#Ajout de flathub
|
||||
RUN flatpak remote-add --if-not-exists --system flathub https://dl.flathub.org/repo/flathub.flatpakrepo || true
|
||||
|
||||
#Activation du service flatpak-first-boot
|
||||
COPY services/flatpak-first-boot.service /etc/systemd/system/flatpak-first-boot.service
|
||||
RUN systemctl enable flatpak-first-boot.service
|
||||
|
||||
#Définir le target graphique par défaut
|
||||
RUN systemctl set-default graphical.target
|
||||
@@ -101,4 +109,4 @@ RUN systemctl set-default graphical.target
|
||||
#Activation des services + Desactivation de bootc-update automatique
|
||||
RUN systemctl preset-all && \
|
||||
systemctl enable gdm.service NetworkManager.service bluetooth.service podman.socket cups.service mullvad-daemon.service && \
|
||||
systemctl mask bootc-fetch-apply-updates.timer
|
||||
systemctl mask bootc-fetch-apply-updates.timer
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=Installation des Flatpaks au premier démarrage
|
||||
After=network-online.target flatpak-system-helper.service
|
||||
Wants=network-online.target
|
||||
ConditionPathExists=!/var/lib/flatpak/.firstboot-done
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/bin/bash -c '\
|
||||
flatpak install -y --system flathub runtime/org.gnome.Platform/x86_64/49 && \
|
||||
flatpak install -y --system flathub io.github.kolunmi.Bazaar && \
|
||||
touch /var/lib/flatpak/.firstboot-done'
|
||||
StandardOutput=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user