#!/bin/bash

dnf up -y

echo "defaultyes=True" >>/etc/dnf/dnf.conf
echo "install_weak_deps=False" >>/etc/dnf/dnf.conf

dnf install \
    default-fonts-core-math default-fonts-core-emoji default-fonts-cjk-sans default-fonts-other-sans \
    flatpak podman distrobox btop \
    @standard @hardware-support @base-graphical @critical-path-kde \
    git libwebp-tools ImageMagick zstd \
    spectacle powerdevil konsole \
    dnf-automatic -y

dnf remove plasma-discover PackageKit toolbox -y

dnf autoremove -y

# adds the flathub flatpak remote and deletes the fedora remote

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

flatpak remote-delete fedora

touch /etc/dnf/automatic.conf

echo "[commands]" >>/etc/dnf/automatic.conf
echo "apply_updates=True" >>/etc/dnf/automatic.conf

plymouth-set-default-theme spinner -R

grubby --update-kernel=ALL --args="plymouth.use-simpledrm=0"

grubby --update-kernel=ALL --args="pci=noaer"

systemctl daemon-reload

systemctl enable dnf-automatic.timer

systemctl start dnf-automatic.timer

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *