108 lines
3.4 KiB
Makefile
108 lines
3.4 KiB
Makefile
username := env_var('USER')
|
|
|
|
# Displays this message
|
|
default:
|
|
@just --list --justfile {{justfile()}}
|
|
|
|
# Arch Linux package mirrors & timer for fetching best mirrors
|
|
arch-mirrors:
|
|
sudo reflector --country 'Australia,New Zealand,' --latest 15 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
|
|
sudo systemctl enable --now reflector.timer
|
|
|
|
# Arch User Repository
|
|
aur:
|
|
rustup install stable
|
|
rm -rf /tmp/paru-git
|
|
git clone https://aur.archlinux.org/paru-git.git /tmp/paru-git
|
|
cd /tmp/paru-git; makepkg -si
|
|
rm -rf /tmp/paru-git
|
|
|
|
# Essential CLI tools & utils
|
|
cli:
|
|
sudo pacman -S base-devel btop curl eza fastfetch ffmpeg fwupd fzf man-db man-pages nvtop openssh reflector ripgrep unrar vim vulkan-tools xdg-user-dirs yt-dlp
|
|
|
|
# ranger terminal file browser
|
|
cli-ranger:
|
|
sudo pacman -S atool ffmpegthumbnailer highlight mediainfo p7zip transmission-cli unzip w3m zip
|
|
paru -S ranger-git
|
|
pipx install no_vtf python-bidi
|
|
|
|
stow --dotfiles -S ranger
|
|
|
|
codecs:
|
|
sudo pacman -S gst-libav gst-plugin-va gst-plugins-bad gst-plugins-base gst-plugins-good gstreamer
|
|
|
|
# C#/.NET dev environment & Rider editor
|
|
dev-csharp:
|
|
sudo pacman -S aspnet-runtime aspnet-targeting-pack dotnet-sdk dotnet-runtime dotnet-targeting-pack
|
|
sudo dotnet workload install wasm-tools
|
|
paru -S rider
|
|
|
|
# Node dev environment
|
|
dev-node:
|
|
sudo pacman -S nodejs npm
|
|
|
|
# Python dev environment & PyCharm editor
|
|
dev-python:
|
|
sudo pacman -S pycharm-community-edition python python-pip python-pipx python-venv
|
|
|
|
fish -c "fish_add_path $HOME/.local/bin"
|
|
|
|
# Rust dev environment
|
|
dev-rust:
|
|
sudo pacman -S rustup
|
|
rustup install stable
|
|
|
|
# Docker container runtime
|
|
docker:
|
|
sudo pacman -S docker docker-compose
|
|
sudo systemctl enable --now docker
|
|
|
|
# Flatpak & Flathub package repository
|
|
flatpak:
|
|
sudo pacman -S flatpak flatpak-xdg-utils
|
|
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
|
|
|
# Steam, Heroic, Prism Launcher, Gamescope, MangoHud & other utils
|
|
games:
|
|
sudo pacman -S goverlay mangohud steam ttf-liberation wine wine-gecko wine-mono winetricks wqy-zenhei
|
|
paru -S protontricks
|
|
flatpak install ca.parallel_launcher.ParallelLauncher com.heroicgameslauncher.hgl net.davidotek.pupgui2 org.prismlauncher.PrismLauncher
|
|
|
|
# git global config
|
|
git:
|
|
git config --global commit.gpgsign true
|
|
git config --global init.defaultBranch "main"
|
|
git config --global user.name "pancakes"
|
|
|
|
# Syncthing file sync
|
|
syncthing:
|
|
sudo pacman -S syncthing
|
|
systemctl enable --now --user syncthing
|
|
|
|
# Tailscale private VPN
|
|
tailscale:
|
|
sudo pacman -S tailscale
|
|
sudo systemctl enable --now tailscaled
|
|
sudo tailscale up --operator={{username}} --ssh=true
|
|
|
|
# window manager and required programs
|
|
wm:
|
|
sudo pacman -S bluez bluez-utils cliphist easyeffects firefox fuzzel gdm gnome-keyring gtklock hunspell hunspell-en_au hunspell-en_us mako niri noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra power-profiles-daemon swayidle swww ttf-firacode-nerd ttf-font-awesome waybar wl-clipboard xdg-desktop-portal-gnome
|
|
paru -S xwayland-satellite
|
|
flatpak install it.mijorus.smile
|
|
|
|
sudo systemctl enable --now bluetooth
|
|
sudo systemctl enable gdm
|
|
sudo systemctl enable --now power-profiles-daemon
|
|
|
|
stow --dotfiles -S wm
|
|
|
|
zsh:
|
|
sudo pacman -S zsh
|
|
chsh -s /usr/bin/zsh
|
|
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
|
|
mv ~/.zimrc ~/.zimrc.old
|
|
mv ~/.zshenv ~/.zshenv.old
|
|
mv ~/.zshrc ~/.zshrc.old
|
|
stow --dotfiles -S zsh
|