dotfiles/scripts/bootstrap
2025-06-25 00:26:07 +02:00

43 lines
1 KiB
Bash
Executable file
Vendored

#!/usr/bin/env bash
sudo apt update
sudo apt install -y \
guix \
silversearcher-ag \
fastfetch \
python3-nautilus \
curl \
npm \
gcc \
zsh \
git \
fzf \
eza \
bat \
pip \
python3-venv \
inotify-tools
sudo snap install --classic ghostty
sudo snap install --classic emacs
zsh_path="$(command -v zsh)"
if [ -x "$zsh_path" ]; then
sudo chsh "$USER" -s "$zsh_path"
else
echo "$zsh_path is not executable!"
fi
# I use my own guix mirror as the upstream one is painfully slow.
# If you don't trust mine just remove the url argument or replace
# it with your mirror of choice.
guix pull --url=https://git.caem.dev/mirror/guix
GUIX_PROFILE="$HOME/.config/guix/current"
. "$GUIX_PROFILE/etc/profile"
guix install guile-lsp-server
mkdir -p ~/.local/share/fonts
wget -O ~/.local/share/fonts/AdwaitaMono.zip https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/AdwaitaMono.zip
unzip -d ~/.local/share/fonts/AdwaitaMono ~/.local/share/fonts/AdwaitaMono.zip
fc-cache -f