From 16d11d138e6496b90e23e5f6b3a38dd1105658a7 Mon Sep 17 00:00:00 2001 From: Airikr Date: Sat, 16 Nov 2024 02:30:19 +0100 Subject: [PATCH] Initial --- setup.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 setup.sh diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..59ea8bb --- /dev/null +++ b/setup.sh @@ -0,0 +1,27 @@ +#!/bin/bash +echo 'alias update="sudo apt-get update -y" +alias install="sudo apt-get install -y" +alias uninstall="sudo apt purge -y" +alias ll="ls -l"' > "$HOME"/.bash_aliases +source "$HOME"/.bash_aliases +echo 'if [ -f ~/.bash_aliases ]; then +. ~/.bash_aliases +fi' >> "$HOME"/.bashrc + +sudo apt-get update -y +sudo apt-get autoremove -y +sudo apt-get install mpv fonts-inter-variable syncthing git + +sudo ufw enable + +cd +wget "https://vault.bitwarden.com/download/?app=desktop&platform=linux&variant=deb" -O bitwarden.deb +sudo chmod 777 "$HOME"/bitwarden.deb +sudo apt install "$HOME"/bitwarden.deb +rm "$HOME"/bitwarden.deb + +git clone https://git.airikr.me/airikr/new-ubuntu-system.git +sudo rsync -aP "$HOME"/new-ubuntu-system/.config/* "$HOME"/.config +sudo rsync -aP "$HOME"/new-ubuntu-system/.mozilla/* "$HOME"/.mozilla + +exit