Compare commits

..

1 Commits

Author SHA1 Message Date
ssn 57d700be86 Installs TS, key handling still missing 2026-04-07 14:59:50 +02:00
3 changed files with 65 additions and 25 deletions
+1 -4
View File
@@ -1,7 +1,4 @@
context.properties = { context.properties = {
#default.clock.rate = 48000 #default.clock.rate = 48000
default.clock.allowed-rates = [ 44100, 48000, 88200, 96000, 176400, 192000 ] default.clock.allowed-rates = [ 44100, 48000, 88200, 96000, 176400, 192000 ]
} }
stream.properties = {
resample.quality = 14
}
+2 -2
View File
@@ -5,6 +5,6 @@ Just a faster way to speedrun the good parts of [this guide](https://github.com/
### YOLO Speedrun this ### 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: 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 ```shell
curl "https://karf.net/Siim/Fedora-post-install-script/raw/branch/main/fedora_post_install.sh" -s | bash curl "https://www.lolnope.dk/post.sh" -s | bash
``` ```
Trust me bro. Trust me bro.
+62 -19
View File
@@ -7,8 +7,18 @@ if [[ $EUID > 0 ]]; then
sudo su - sudo su -
fi fi
echo "Removing fluff (maps, tour, etc)" # Source - https://stackoverflow.com/a/29436423
dnf remove -y gnome-maps gnome-weather gnome-tour gnome-calendar gnome-contacts simple-scan &> /dev/null # Posted by Tiago Lopo, modified by community. See post 'Timeline' for change history
# Retrieved 2026-04-07, License - CC BY-SA 3.0
function yes_or_no {
while true; do
read -p "$* [y/n]: " yn
case $yn in
[Yy]*) return 0 ;;
[Nn]*) echo "Aborted" ; return 1 ;;
esac
done
}
echo "adding RPM fusion repos & updating DNF" echo "adding RPM fusion repos & updating DNF"
@@ -18,11 +28,21 @@ dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-
# Get the nonfree repository (NVIDIA drivers, some codecs) # 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 dnf install -y https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm &> /dev/null
# Installing nushell
echo "[gemfury-nushell]
name=Gemfury Nushell Repo
baseurl=https://yum.fury.io/nushell/
enabled=1
gpgcheck=0
gpgkey=https://yum.fury.io/nushell/gpg.key" | tee /etc/yum.repos.d/fury-nushell.repo
dnf install -y nushell &> /dev/null
# Update everything so it all plays nice together # Update everything so it all plays nice together
echo "Updating everything..." echo "Updating everything..."
dnf update --refresh -y &> /dev/null dnf group upgrade core -y &> /dev/null
#dnf check-update &> /dev/null dnf check-update &> /dev/null
#dnf update -y &> /dev/null dnf update -y &> /dev/null
###Firmware updates ###Firmware updates
# See what can be updated # See what can be updated
@@ -83,15 +103,16 @@ dnf install -y ffmpeg-libs libva libva-utils openh264 gstreamer1-plugin-openh264
dnf config-manager --set-enabled fedora-cisco-openh264 &> /dev/null dnf config-manager --set-enabled fedora-cisco-openh264 &> /dev/null
dnf update -y &> /dev/null dnf update -y &> /dev/null
###Fix BT headsets
sed -i "$ a AutoConnect=true" /etc/bluetooth/main.conf
sed -i "$ a MultiProfile=multiple" /etc/bluetooth/main.conf
###Archive support ###Archive support
echo "Installing archive support" echo "Installing archive support"
dnf install -y p7zip p7zip-plugins unrar &> /dev/null dnf install -y p7zip p7zip-plugins unrar &> /dev/null
###MS fonts
echo "Installing MS fonts"
dnf install -y curl cabextract xorg-x11-font-utils fontconfig &> /dev/null
rpm -i --nodigest --nosignature https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm &> /dev/null
fc-cache -fv &> /dev/null
###AppImage support ###AppImage support
echo "Adding AppImage support" echo "Adding AppImage support"
dnf install -y fuse fuse-libs &> /dev/null dnf install -y fuse fuse-libs &> /dev/null
@@ -99,7 +120,6 @@ flatpak install -y flathub it.mijorus.gearlever &> /dev/null
# AppImage autoupdate # AppImage autoupdate
# Create the service unit # Create the service unit
echo "Creating Flatpak update task"
tee /etc/systemd/system/flatpak-update.service > /dev/null <<'EOF' tee /etc/systemd/system/flatpak-update.service > /dev/null <<'EOF'
[Unit] [Unit]
Description=Update Flatpak apps automatically Description=Update Flatpak apps automatically
@@ -130,13 +150,36 @@ systemctl daemon-reload &> /dev/null
systemctl enable --now flatpak-update.timer &> /dev/null systemctl enable --now flatpak-update.timer &> /dev/null
###Bit-perfect audio support ###Bit-perfect audio support
###This will enable support for the following audio sample rates: function bitperfect_audio {
###44100, 48000, 88200, 96000, 176400, 192000 ###This will enable support for the following audio sample rates:
###Please adjust according to the capabilities of your hardware ###44100, 48000, 88200, 96000, 176400, 192000
###or simply delete the file created below if you don't care about resampling ###Please adjust according to the capabilities of your hardware
echo "Adding bitperfect audio support" ###or simply delete the file created below if you don't care about resampling
mkdir -p $HOME/.config/pipewire/pipewire.conf.d mkdir -p ~/.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://git.zfx.dk/Siim/Fedora-post-install-script/raw/branch/main/10-bitperfect.conf > ~/.config/pipewire/pipewire.conf.d/10-bitperfect.conf
}
yes_or_no "Would you like to add support for high-res audio?" && bitperfect_audio ||
###Tailscale install
function tailscale_install {
###Will use the standard Tailscale installation script
###but also request an API key in order to generate
###a pre-auth key for auto-approving the new client.
###Todo:
####1) Request API key from user
####2) Use API key to generate auth key
####3) Run tailscale up --auth-key=$keywejustgot
#Install Tailscale but be quiet about it
#Script source is here: https://github.com/tailscale/tailscale/blob/main/scripts/installer.sh
curl -fsSL https://tailscale.com/install.sh | sh &> /dev/null
#Request an API key
read -p "Please enter your Tailscale API key: " tskey
}
yes_or_no "Would you like to install Tailscale?" && tailscale_install ||
###All done ###All done
echo "Script completed, please reboot." echo "Script completed, please reboot."