-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup-a-new-nix.sh
executable file
·46 lines (35 loc) · 959 Bytes
/
setup-a-new-nix.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
#!/bin/bash
###########################
# Mark's GNU/Linux setup script
###########################
echo "Running Mark's GNU/Linux setup script"
echo "Installing git"
sudo apt-get install git
echo "Building directory structure"
cd ~
mkdir Code
cd ~/Code
mkdir work personal
echo "Cloning shell scripts"
cd ~/Code
git clone https://github.com/MarkNBroadhead/shell-scripts
echo "Cloning dotfiles into ~/.dotfiles"
cd ~
git clone [email protected]:MarkNBroadhead/dotfiles.git .dotfiles
cd ~/.dotfiles/
./dotfiles link
echo "Installing Vim Awesome"
git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh
# configure os
echo "Installing apps"
aptitude_apps=(
)
for app in "${aptitude_apps[@]}"; do
sudo apt-get install "$app"
done
echo "Manual tasks follow..."
cat << EOF
Most things are taken care of automatically with the set up script, but some manual items are needed:
- Make new SSH key
EOF