41 lines
1.2 KiB
Bash
Executable file
41 lines
1.2 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
# This script is assuming you've installed Fedora Sway Atomic (sericea)
|
|
#
|
|
# Show all available branches
|
|
# $ ostree remote refs fedora | grep sericea | grep $(uname -m)
|
|
#
|
|
# Rebase
|
|
# $ rpm-ostree rebase fedora:fedora/41/aarch64/sericea
|
|
|
|
# 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 \
|
|
ansible \
|
|
cosmic-desktop
|
|
|
|
sudo flatpak install -y \
|
|
io.gitlab.librewolf-community \
|
|
org.kde.kate
|
|
|
|
# The following may be needed
|
|
#
|
|
echo
|
|
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"
|
|
echo "systemctl reboot"
|
|
echo
|