diff --git a/desktop_postinstall.sh b/desktop_postinstall.sh index 27e1e06..47c140c 100644 --- a/desktop_postinstall.sh +++ b/desktop_postinstall.sh @@ -20,6 +20,15 @@ sudo sbctl enroll-keys sudo sbctl sign /boot/efi/EFI/GRUB/grubx64.efi +# Setup Flatpak +sudo flatpak override --system --nosocket=x11 --nosocket=fallback-x11 --nosocket=pulseaudio --nosocket=session-bus --nosocket=system-bus --unshare=network --unshare=ipc --nofilesystem=host:reset --nodevice=input --nodevice=shm --nodevice=all --no-talk-name=org.freedesktop.Flatpak --no-talk-name=org.freedesktop.systemd1 --no-talk-name=ca.desrt.dconf --no-talk-name=org.gnome.Shell.Extensions +flatpak override --user --nosocket=x11 --nosocket=fallback-x11 --nosocket=pulseaudio --nosocket=session-bus --nosocket=system-bus --unshare=network --unshare=ipc --nofilesystem=host:reset --nodevice=input --nodevice=shm --nodevice=all --no-talk-name=org.freedesktop.Flatpak --no-talk-name=org.freedesktop.systemd1 --no-talk-name=ca.desrt.dconf --no-talk-name=org.gnome.Shell.Extensions +flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo +flatpak --user install org.gnome.Extensions com.github.tchx84.Flatseal org.gnome.Loupe -y +flatpak --user override com.github.tchx84.Flatseal --filesystem=/var/lib/flatpak/app:ro --filesystem=xdg-data/flatpak/app:ro --filesystem=xdg-data/flatpak/overrides:create +flatpak --user override org.gnome.Extensions --talk-name=org.gnome.Shell.Extensions +flatpak update -y + # Firewalld setup sudo firewall-cmd --set-default-zone=block sudo firewall-cmd --permanent --add-service=dhcpv6-client diff --git a/install.sh b/install.sh index 440f6f3..0580017 100644 --- a/install.sh +++ b/install.sh @@ -271,7 +271,7 @@ output "It is okay. The script will regenerate the initramfs later in the instal pacstrap /mnt apparmor base chrony efibootmgr firewalld grub grub-btrfs inotify-tools linux-firmware linux-hardened linux-lts "${microcode}" nano networkmanager reflector sbctl snapper sudo zram-generator if [ "${install_mode}" = 'desktop' ]; then - pacstrap /mnt nautilus gdm gnome-console gnome-control-center pipewire-alsa pipewire-pulse pipewire-jack + pacstrap /mnt nautilus gdm gnome-console gnome-control-center flatpak pipewire-alsa pipewire-pulse pipewire-jack elif [ "${install_mode}" = 'server' ]; then pacstrap /mnt openssh fi