#!/bin/bash # If root ID=$(id -u) if [ "$ID" -ne 0 ] then echo echo "Please run as root!" exit fi # RPM Fusion dnf config-manager setopt rpmfusion-free.enabled=1 dnf config-manager setopt rpmfusion-free-updates.enabled=1 dnf config-manager setopt rpmfusion-nonfree.enabled=1 dnf config-manager setopt rpmfusion-nonfree-updates.enabled=1 dnf upgrade --refresh # RPM Fusion Tainted repos dnf install rpmfusion-free-release-tainted rpmfusion-nonfree-release-tainted # Localization packages dnf install langpacks-en langpacks-fr # Ad Blocker dnf install mozilla-ublock-origin # Codecs dnf install ffmpeg --allowerasing # User configuration mkdir -p /etc/skel cp -r skel/. /etc/skel # Set locale localectl set-locale fr_FR.UTF-8 # MPV dnf install mpv mkdir -p /rw/usrlocal/etc/mpv cp mpv.conf /rw/usrlocal/etc/mpv/ # Firefox configuration mkdir -p /rw/usrlocal/etc/firefox/policies cp policies.json /rw/usrlocal/etc/firefox/policies/ # Software dnf install alacritty gimp inkscape libreoffice qbittorrent # Development dnf install helix php-cli php-pdo composer sqlite