dotfiles/scripts/bootstrap.sh

55 lines
1.9 KiB
Bash
Executable File

#!/bin/bash
# MANUALLY: need /etc/sudoers edited to add myself to sudoers
# ALSO: need to manually edit /etc/apt/sources.list to change to testing
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
sudo apt update
# apt
sudo apt install autorandr i3gaps polybar cargo lightdm-gtk-greeter lightdm 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 nvidia-
# chsh
sudo chsh /bin/zsh
# Nvidia
# omz
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh) --keep-zshrc --unattended"
# update git submodules
yadm submodule update --init --recursive
# 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