Compare commits

..

1 Commits

Author SHA1 Message Date
ssn 57d700be86 Installs TS, key handling still missing 2026-04-07 14:59:50 +02:00
2 changed files with 27 additions and 6 deletions
+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
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://www.lolnope.dk/post.sh" -s | bash
```
Trust me bro.
Trust me bro.
+25 -4
View File
@@ -14,7 +14,7 @@ function yes_or_no {
while true; do
read -p "$* [y/n]: " yn
case $yn in
[Yy]*) return 0 ;;
[Yy]*) return 0 ;;
[Nn]*) echo "Aborted" ; return 1 ;;
esac
done
@@ -155,10 +155,31 @@ function bitperfect_audio {
###44100, 48000, 88200, 96000, 176400, 192000
###Please adjust according to the capabilities of your hardware
###or simply delete the file created below if you don't care about resampling
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
mkdir -p ~/.config/pipewire/pipewire.conf.d
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
echo "Script completed, please reboot."
echo "Script completed, please reboot."