-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·59 lines (46 loc) · 1.34 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Essentials
# printf "\n\n\n$USER ALL=(ALL) NOPASSWD:ALL\n" | sudo tee -a /etc/sudoers
## --- pip3 git add-apt-repository
echo "Installing basics"
echo "- git"
sudo apt install git -y &> /dev/null
git config --global user.email "[email protected]"
git config --global user.name "Sigurd Berg Svela"
echo "- apt-utils"
sudo apt install apt-utils -y &> /dev/null
echo "- python3"
sudo apt install python3-pip -y &> /dev/null
echo "- software-properties-common"
sudo apt install software-properties-common -y &> /dev/null
echo "- vim"
sudo apt install vim -y &> /dev/null
# --- Add 32bit
sudo dpkg --add-architecture i386
echo "Dotfile Setup"
./dotfiles/setup.sh
source ~/.bashrc
echo "Sensors setup"
./sensors/setup.sh
echo "Keyboard Setup"
./keyboard/setup.sh
## ---- Snaps
echo "Installing snaps..."
echo "- Install snapd"
sudo apt install snapd -y &> /dev/null
echo "- Install spotify"
snap install spotify &> /dev/null
echo "- Install vscode"
snap install --classic code &> /dev/null
echo "- Install deja-dub"
snap install --classic deja-dup &> /dev/null
printf "\nexport PATH=\$PATH:/snap/bin\n"
## ---- Dropbox
echo "Installing Dropbox"
if ! command -v COMMAND &> /dev/null; then
sudo apt install ./dist/dropbox.deb -y &> /dev/null
fi
## Install apts
./apt-installer/install.sh ./apt
ssh-keygen
sudo systemctl enable ssh
sudo service ssh start