Skip to content

Instantly share code, notes, and snippets.

@ntorga
Last active July 2, 2025 18:04
Show Gist options
  • Save ntorga/a4f841c128b44d8facf8015ed594a3e9 to your computer and use it in GitHub Desktop.
Save ntorga/a4f841c128b44d8facf8015ed594a3e9 to your computer and use it in GitHub Desktop.
#!/bin/bash
#
# The script will perform most of the steps, however, you must edit a few settings
# manually AFTER running the script:
#
# 1) System Settings:
# a) Mousepad & Touchpad => Screen Edges => Disable top left corner action;
# b) Colours & Themes:
# I. Select "Breeze Dark";
# II. Global Theme => Window Decorations => Breeze => Pen icon => Shadows and Outline:
# - Shadow size: "Small";
# - Outline intensity: "Low".
# c) Keyboard:
# I. Layouts => Add "Portuguese (Brazil)" and "English (UK)";
# II. Keyboard => Shortcuts:
# - Session Managment => Lock Session, add Ctrl+Shift+L.
# d) Power Managment:
# I. When inactive: "Do nothing";
# II. Dim automatically: "10 minutes";
# III. Turn off screen: "15 minutes".
# e) Lock Screen => Lock screen automatically: "15 minutes";
# f) Wallpaper => Wallpaper Type: "Picture of the Day"; Provider: "Bing".
#
# 2) Right-click on Top Bar => Show Panel Configurations:
# a) Floating: Disable;
# b) Position: Top.
#
# 3) Right-click on Start Menu => Configure Application Launcher:
# a) Icon: All -> menu_new;
# b) Show buttons for: Power and session.
#
# 4) Left-click on Start Menu, add the following items as favourites:
# Zen Browser, Dolphin, Visual Studio Code, Konsole, KWrite, KCalc, Virtual Machine Manager,
# Windsurf, Firefox, TIDAL Hi-Fi, System Settings
#
sudo rpm-ostree update
systemctl reboot
sudo rpm-ostree install autossh htop libvirt-daemon-config-network libvirt-daemon-kvm nmap qemu-kvm sshpass telnet traceroute vim virt-install virt-manager virt-viewer wireguard-tools wtype make brotli
systemctl reboot
sudo systemctl enable libvirtd --now
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install flathub app.zen_browser.zen
flatpak install flathub com.google.Chrome
flatpak install flathub org.filezillaproject.Filezilla
flatpak install flathub com.mastermindzh.tidal-hifi
# IDEs
curl -f https://zed.dev/install.sh | sh
echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\nautorefresh=1\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null
echo -e "[windsurf]\nname=Windsurf Repository\nbaseurl=https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/yum/repo/\nenabled=1\nautorefresh=1\ngpgcheck=1\ngpgkey=https://windsurf-stable.codeiumdata.com/wVxQEIWkwPUEAGf3/yum/RPM-GPG-KEY-windsurf" | sudo tee /etc/yum.repos.d/windsurf.repo > /dev/null
sudo rpm-ostree install code windsurf
systemctl reboot
# Git
git config --global user.name "ntorga"
git config --global user.email [email protected]
# IPv6
nmcli connection modify eno1 ipv6.method "disabled"
nmcli connection up eno1
# WireGuard (VPN)
nmcli connection import type wireguard file "/home/$USER/.ssh/wg0.conf"
# Go
curl -kL https://go.dev/dl/go1.24.4.linux-amd64.tar.gz -o go.tar.gz
sudo tar -C /usr/local -xzf go.tar.gz
rm -f go.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin:~/go/bin' >> ~/.bashrc
source ~/.bashrc
go install golang.org/x/tools/gopls@latest
go install github.com/air-verse/air@latest
go install github.com/a-h/templ/cmd/templ@latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment