2024-05-03 07:56:30 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -ouex pipefail
|
|
|
|
|
|
|
|
RELEASE="$(rpm -E %fedora)"
|
|
|
|
|
2024-05-03 15:11:18 +00:00
|
|
|
### Add repos
|
2024-05-03 07:56:30 +00:00
|
|
|
|
2024-05-03 15:11:18 +00:00
|
|
|
# Add Staging repo
|
|
|
|
curl -Lo /etc/yum.repos.d/ublue-os-staging-fedora-"${FEDORA_MAJOR_VERSION}".repo https://copr.fedorainfracloud.org/coprs/ublue-os/staging/repo/fedora-"${FEDORA_MAJOR_VERSION}"/ublue-os-staging-fedora-"${FEDORA_MAJOR_VERSION}".repo
|
|
|
|
|
|
|
|
# Add Bling repo
|
|
|
|
curl -Lo /etc/yum.repos.d/ublue-os-bling-fedora-"${FEDORA_MAJOR_VERSION}".repo https://copr.fedorainfracloud.org/coprs/ublue-os/bling/repo/fedora-"${FEDORA_MAJOR_VERSION}"/ublue-os-bling-fedora-"${FEDORA_MAJOR_VERSION}".repo
|
|
|
|
|
|
|
|
curl -Lo /etc/yum.repos.d/ganto-lxc4-fedora-"${FEDORA_MAJOR_VERSION}".repo https://copr.fedorainfracloud.org/coprs/ganto/lxc4/repo/fedora-"${FEDORA_MAJOR_VERSION}"/ganto-lxc4-fedora-"${FEDORA_MAJOR_VERSION}".repo
|
2024-05-03 07:56:30 +00:00
|
|
|
|
2024-05-03 15:11:18 +00:00
|
|
|
curl -Lo /etc/yum.repos.d/_copr_che-nerd-fonts-"${FEDORA_MAJOR_VERSION}".repo https://copr.fedorainfracloud.org/coprs/che/nerd-fonts/repo/fedora-"${FEDORA_MAJOR_VERSION}"/che-nerd-fonts-fedora-"${FEDORA_MAJOR_VERSION}".repo
|
|
|
|
|
2024-05-06 19:14:40 +00:00
|
|
|
curl -Lo /etc/yum.repos.d/_copr_babariviere-tools-"${FEDORA_MAJOR_VERSION}".repo https://copr.fedorainfracloud.org/coprs/babariviere/tools/repo/fedora-"${FEDORA_MAJOR_VERSION}"/babariviere-tools-fedora-"${FEDORA_MAJOR_VERSION}".repo
|
|
|
|
|
2024-05-03 15:11:18 +00:00
|
|
|
### Install packages
|
2024-05-03 07:56:30 +00:00
|
|
|
|
2024-05-03 15:11:18 +00:00
|
|
|
grep -v '^#' /tmp/packages | xargs rpm-ostree install
|
2024-05-03 07:56:30 +00:00
|
|
|
|
2024-05-03 18:49:19 +00:00
|
|
|
rpm-ostree override remove opensc
|
|
|
|
|
2024-06-03 17:46:13 +00:00
|
|
|
|
|
|
|
# Install topgrade
|
|
|
|
pip install --prefix=/usr topgrade
|
|
|
|
|
2024-05-05 15:23:33 +00:00
|
|
|
# Installed via flatpak
|
|
|
|
rpm-ostree override remove firefox firefox-langpacks
|
|
|
|
|
2024-05-03 15:11:18 +00:00
|
|
|
#### Services
|
2024-05-03 07:56:30 +00:00
|
|
|
|
2024-05-14 09:26:52 +00:00
|
|
|
systemctl enable docker.socket
|
2024-05-14 09:49:15 +00:00
|
|
|
systemctl enable incus.socket
|
2024-05-03 07:56:30 +00:00
|
|
|
systemctl enable podman.socket
|
2024-05-03 15:11:18 +00:00
|
|
|
systemctl enable tailscaled.service
|
2024-05-05 10:27:56 +00:00
|
|
|
systemctl enable -f --global flatpak-setup.service
|
2024-06-03 17:46:13 +00:00
|
|
|
systemctl enable -f --global azure-topgrade.service
|
2024-05-14 09:49:15 +00:00
|
|
|
|
|
|
|
systemctl enable azure-system-setup.service
|
|
|
|
systemctl enable azure-groups.service
|