11 Commits
2 changed files with 30 additions and 4 deletions
+17 -1
View File
@@ -5,6 +5,22 @@ Just a faster way to speedrun the good parts of [this guide](https://github.com/
### YOLO Speedrun this
Are you a busy professional with no time to waste or just a lazy bugger who trusts everything on the Internet? Can't be bothered to save the script manually, make it executable and run it? Don't worry, I've got you covered. Simply copy and paste the following command into your console:
```shell
curl "https://karf.net/Siim/Fedora-post-install-script/raw/branch/main/fedora_post_install.sh" -s | bash
curl "https://hvad.nu/Siim/Fedora-post-install-script/raw/branch/main/fedora_post_install.sh" -s | bash
```
Trust me bro.
***
### What the script actually does
1. Removes the fluff we never use anyway, such as Gnome maps, weather, calendar etc
2. Adds RPM fusion & non-free repositories so you can install all the *good* stuff like codecs & drivers
3. Adds better Flatpak support
4. Installs nifty tools: [FastFetch](https://github.com/fastfetch-cli/fastfetch), [Ghostty](https://ghostty.org/) & [Tailscale](https://tailscale.com/)
5. Updates the firmware of your hardware
6. Creates the alias `upup` that updates everything installed via DNF & flatpak. Admit it, you wouldn't be here if you weren't a lazy bastard
7. Installs the drivers your GFX needs
8. Installs video codecs
9. Adds support for bluetooth auto-switching, headphone profile to headset profile and vice versa. If you use your computer for Teams/Meet/Zoom calls, you want this.
10. Adds support for bit-perfect audio. If you use your computer for listening to music, you want this.
11. Adds support for rar & zip archives
12. Adds support for AppImages (Gearlever)
13. Adds auto-update for Flatpaks (WIP)
+13 -3
View File
@@ -18,6 +18,16 @@ dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-
# Get the nonfree repository (NVIDIA drivers, some codecs)
dnf install -y https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm &> /dev/null
# Add Ghostty
dnf copr enable scottames/ghostty -y &> /dev/null
dnf install ghostty -y &> /dev/null
#Add Fastfetch
dnf install fastfetch -y &> /dev/null
# Installing Tailscale
curl -fsSL https://tailscale.com/install.sh | sh &> /dev/null
# Update everything so it all plays nice together
echo "Updating everything..."
dnf update --refresh -y &> /dev/null
@@ -35,7 +45,7 @@ fwupdmgr refresh --force &> /dev/null
fwupdmgr get-updates &> /dev/null
# Apply them
fwupdmgr update &> /dev/null
fwupdmgr update -y &> /dev/null
###Flathub
echo "Fixing flathub"
@@ -89,7 +99,7 @@ sed -i "$ a MultiProfile=multiple" /etc/bluetooth/main.conf
###Adding the update alias
echo "Now you can just use the command 'upup' to update everything."
"alias upup='sudo dnf update --refresh -y'" >> $HOME/.bashrc
"alias upup='sudo dnf update --refresh -y && flatpak update -y'" >> $HOME/.bashrc
###Archive support
echo "Installing archive support"
@@ -139,7 +149,7 @@ systemctl enable --now flatpak-update.timer &> /dev/null
###or simply delete the file created below if you don't care about resampling
echo "Adding bitperfect audio support"
mkdir -p $HOME/.config/pipewire/pipewire.conf.d
curl https://karf.net/Siim/Fedora-post-install-script/raw/branch/main/10-bitperfect.conf > $HOME/.config/pipewire/pipewire.conf.d/10-bitperfect.conf
curl https://hvad.nu/Siim/Fedora-post-install-script/raw/branch/main/10-bitperfect.conf > $HOME/.config/pipewire/pipewire.conf.d/10-bitperfect.conf
###All done
echo "Script completed, please reboot."