2024-10-14 21:35:54 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# This script is assuming you've installed Fedora Sway Atomic (sericea)
|
2024-10-15 03:10:59 +00:00
|
|
|
#
|
|
|
|
# Show all available branches
|
|
|
|
# $ ostree remote refs fedora | grep sericea | grep $(uname -m)
|
|
|
|
#
|
|
|
|
# Rebase
|
|
|
|
# $ rpm-ostree rebase fedora:fedora/41/aarch64/sericea
|
2024-10-14 21:35:54 +00:00
|
|
|
|
|
|
|
# Add addtional RPM repos
|
|
|
|
cd /etc/yum.repos.d || exit 1
|
|
|
|
sudo wget https://copr.fedorainfracloud.org/coprs/ryanabx/cosmic-epoch/repo/fedora-$(rpm -E %fedora)/ryanabx-cosmic-epoch-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_ryanabx-cosmic.repo
|
|
|
|
sudo wget https://pkgs.tailscale.com/stable/fedora/tailscale.repo
|
|
|
|
|
|
|
|
# Add flatpak repos
|
|
|
|
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
|
|
|
|
|
|
|
rpm-ostree override remove firefox firefox-langpacks
|
|
|
|
rpm-ostree install \
|
|
|
|
distrobox \
|
|
|
|
tailscale \
|
|
|
|
syncthing \
|
2024-10-14 22:03:14 +00:00
|
|
|
ansible \
|
2024-10-14 21:35:54 +00:00
|
|
|
cosmic-desktop
|
|
|
|
|
2024-10-14 22:03:14 +00:00
|
|
|
sudo flatpak install -y \
|
|
|
|
io.gitlab.librewolf-community \
|
|
|
|
org.kde.kate
|
|
|
|
|
2024-10-14 21:35:54 +00:00
|
|
|
# The following may be needed
|
|
|
|
#
|
|
|
|
echo
|
2024-10-14 22:03:14 +00:00
|
|
|
echo "REBOOT NOW! (systemctl reboot)"
|
|
|
|
echo
|
|
|
|
echo "The following commands will be needed following a reboot to enable the Cosmic Desktop."
|
|
|
|
echo
|
|
|
|
echo "sudo systemctl disable sddm.service"
|
|
|
|
echo "sudo systemctl enable cosmic-greeter.service"
|
2024-10-14 21:35:54 +00:00
|
|
|
echo "systemctl reboot"
|
|
|
|
echo
|