dotfiles/scripts/bootstrap.sh

52 lines
1.9 KiB
Bash
Executable File

#!/bin/bash
# sys yadm
# might not actually need this after all?
# sudo yadm --yadm-dir /etc/yadm --yadm-data /etc/yadm/data clone -w /etc/ https://git.shoofle.net/melissasage/sysyadm
sudo apt-add-repository -yns main non-free-firmware contrib non-free
# gpg
sudo curl -fsSLo /usr/share/keyrings/steam.gpg http://repo.steampowered.com/steam/archive/stable/steam.gpg
sudo curl -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc
# add additional files
echo "deb [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] http://repo.steampowered.com/steam/ stable steam" | sudo tee /etc/apt/sources.list.d/steam.list
echo "deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=$( dpkg --print-architecture )] https://repository.mullvad.net/deb/stable stable main" | sudo tee /etc/apt/sources.list.d/mullvad.list
bash -ci "$(wget -qO - 'https://shlink.makedeb.org/install')"
# update files from sys
sudo apt update
# apt
sudo apt install autorandr i3gaps polybar cargo lightdm-gtk-greeter lightdm Xorg flatpak yadm git python3 pipx alacritty i3lock-fancy nm-applet rofi dunst neofetch htop wget keepassxc-full net-tools vim mullvad-vpn flameshot caffeine pasystray tmux plasma-discover-backend-flatpak zsh autorandr kdeconnect zsh am fwupd numlockx
# chsh
sudo chsh /bin/zsh
# omz
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh) --keep-zshrc --unattended"
# flatpak setup
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
# flatpak installs
flatpak install com.discordapp.Discord com.spotify.Client mo.kozec.syncthingtk org.jitsi.jitsi-meet org.signal.Signal org.telegram.desktop us.zoom.Zoom
# am installs
# none currently
# cargo installs
cargo install rustup cargo-update
# pipx
pipx install topgrade termdown
# doom emacs
~/.config/emacs/bin/doom install
# finally, update everything
topgrade