dotfiles/fedora-atomic/cosmic-de-setup.sh

28 lines
899 B
Bash
Raw Normal View History

2024-10-14 21:35:54 +00:00
#!/bin/bash
# This script is assuming you've installed Fedora Sway Atomic (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 \
cosmic-desktop
# The following may be needed
#
echo "The following commands will be needed following a reboot to enable the Cosmic Desktop "
echo
echo "systemctl disable sddm.service"
echo "systemctl enable cosmic-greeter.service"
echo "systemctl reboot"
echo