chore: ⚙️ Doing some tidy

This commit is contained in:
2025-11-04 21:38:49 +00:00
parent fca2008969
commit 7fd1838099
6 changed files with 119 additions and 30 deletions
+20 -8
View File
@@ -18,7 +18,7 @@ echo "==> Updating Fedora base packages..."
sudo dnf upgrade --refresh -y
# 2. Install RPMFusion repos (free & nonfree)
echo "==> Enabling RPMFusion repositories..."
echo "==> Enabling RPM-Fusion repositories..."
sudo dnf install \
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm \
@@ -26,11 +26,13 @@ sudo dnf install \
# list all packages we want from dnf
package_list=(
"alacritty"
"kitty"
"fastfetch"
"zsh"
"btop"
"steam"
"code"
"just"
)
# Create a string of packages
@@ -49,10 +51,11 @@ fi
echo "==> Adding Flathub repository..."
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# 6. Install Discord via Flatpak
# 6. Install Flatpak Apps
echo "==> Installing Discord..."
flatpak install -y flathub com.discordapp.Discord
flatpak install -y flathub com.spotify.Client
flatpak install -y flathub app.zen_browser.zen
# 7. Install stuff from around the web that we want
# UV for Python Dev
@@ -61,17 +64,19 @@ curl -LsSf https://astral.sh/uv/install.sh | sh
# Rust, because we all love rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Zed, we like a Neovim Backup
curl -f https://zed.dev/install.sh | sh
# Bazecore for the Dygma Keyboard
./bazecore_grab.sh
# Starship because command line
curl -sS https://starship.rs/install.sh | sh
# sim link config
folders_to_link=(
"alacritty"
# "alacritty"
"git"
"zsh"
"kitty"
"starship.toml" # not a folder, but should still work
)
for folder in "${folders_to_link[@]}"; do
config_path="$HOME/dotfiles/$folder"
@@ -79,8 +84,16 @@ for folder in "${folders_to_link[@]}"; do
ln -s "$config_path" "$target_path"
done
# sym link other bits.
ln -s $HOME/dotfiles/git/gitconfig $HOME/.gitconfig
ln -s $HOME/dotfiles/.justfile $HOME/.justfile
# untested zshrc sym link
sudo rm /etc/zshrc
sudo ln -s /etc/zshrc $HOME/dotfiles/zsh/.zshrc
# nvim set up likely needs work
# git clone https://github.com/Jake-Pullen/kickstart.nvim.git $HOME/.config/nvim
# 9. Clean up (optional)
echo "==> Cleaning up package cache..."
@@ -89,5 +102,4 @@ sudo dnf clean all
echo "===================================================="
echo "All done! Your Fedora system is now ready to go."
echo "You can run 'flatpak list' to see Flatpak apps or 'dnf list installed' for rpm packages."
echo "Happy hacking!"
+5 -4
View File
@@ -1,8 +1,9 @@
# first remove the old lm studio
# first remove the old lm studio (keeping one old version copy)
rm ~/AppImages/LM-Studio.AppImage
rm ~/AppImages/LM-Studio.AppImage.old
mv ~/AppImages/LM-Studio.AppImage ~/AppImages/LM-Studio.AppImage.old
mv ~/Downloads/LM-Studio*.AppImage ~/AppImages/LM-Studio.AppImage
chmod +x ~/AppImages/LM-Studio.AppImage
chmod +x ~/AppImages/LM-Studio.AppImage
+1
View File
@@ -0,0 +1 @@
# tbc